geom-biplot-text.Rd
geom_*_text()
renders text, and geom_*_label()
labels, at
the positions of the subjects or vectors. geom_*_text_repel()
and
geom_*_label_repel()
invoke functionality from the
ggrepel package.
geom_rows_text( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, check_overlap = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_cols_text( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, check_overlap = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_dims_text( mapping = NULL, data = NULL, stat = "identity", position = "identity", .matrix = "rows", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, check_overlap = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_rows_label( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_cols_label( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_dims_label( mapping = NULL, data = NULL, stat = "identity", position = "identity", .matrix = "rows", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_rows_text_repel( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_cols_text_repel( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_dims_text_repel( mapping = NULL, data = NULL, stat = "identity", position = "identity", .matrix = "rows", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_rows_label_repel( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_cols_label_repel( mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE ) geom_dims_label_repel( mapping = NULL, data = NULL, stat = "identity", position = "identity", .matrix = "rows", ..., parse = FALSE, na.rm = FALSE, show.legend = NA, inherit.aes = TRUE )
mapping | Set of aesthetic mappings created by |
---|---|
data | The data to be displayed in this layer. There are three options: If A A |
stat | The statistical transformation to use on the data for this layer, as a string. |
position | Position adjustment, either as a string, or the result of a call to a position adjustment function. |
... | Additional arguments passed to |
parse, check_overlap, nudge_x, nudge_y | See |
na.rm | Passed to |
show.legend | logical. Should this layer be included in the legends?
|
inherit.aes | If |
.matrix | A character string matching one of several indicators for one
or both matrices in a matrix decomposition used for ordination. The
standard values are |
ggbiplot()
uses ggplot2::fortify()
internally to produce a single data
frame with a .matrix
column distinguishing the subjects ("rows"
) and
variables ("cols"
). The stat layers stat_rows()
and stat_cols()
simply
filter the data frame to one of these two.
The geom layers geom_rows_*()
and geom_cols_*()
call the corresponding
stat in order to render plot elements for the corresponding factor matrix.
geom_dims_*()
selects a default matrix based on common practice, e.g.
points for rows and arrows for columns.
geom_*_text()
, geom_*_label()
, geom_*_text_repel()
, and
geom_*_label_repel()
understand the following aesthetics (required
aesthetics are in bold):
x
y
label
alpha
angle
colour
family
fontface
hjust
lineheight
size
vjust
group