Skip to content

Commit

Permalink
use biplot coordinate system in an example
Browse files Browse the repository at this point in the history
  • Loading branch information
corybrunson committed Nov 20, 2024
1 parent 3b9d59d commit 197c3d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions inst/examples/ex-methods-lra-arrests.r
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ arrests_lra %>%
confer_inertia("rows") %>%
ggbiplot(aes(color = .matrix), sec.axes = "cols", scale.factor = 1/20) +
scale_color_manual(values = c("tomato4", "turquoise4")) +
theme_bw() +
theme_bw() + theme_biplot() +
geom_rows_text(aes(label = abb), size = 3, alpha = .75) +
geom_cols_polygon(fill = NA, linetype = "dashed") +
geom_cols_text(aes(label = name, size = weight), fontface = "bold") +
scale_size_area(guide = "none") +
ggtitle(
"Non-compositional LRA of violent crime arrest rates",
"United States, 1973"
"Violent crime arrest rates",
"Non-compositional LRA"
) +
expand_limits(x = c(-.35)) +
coord_biplot() +
guides(color = "none")
8 changes: 4 additions & 4 deletions man/methods-lra.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 197c3d9

Please sign in to comment.