-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbiplot-ord-aes.r
19 lines (18 loc) · 909 Bytes
/
biplot-ord-aes.r
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#' @section Ordination aesthetics:
#' This statistical transformation is compatible with the convenience function
#' [ord_aes()].
#'
#' Some transformations (e.g. [stat_center()]) commute with projection to the
#' lower (1 or 2)-dimensional biplot space. If they detect aesthetics of the
#' form `..coord[0-9]+`, then `..coord1` and `..coord2` are converted to `x` and
#' `y` while any remaining are ignored.
#'
#' Other transformations (e.g. [stat_spantree()]) yield different results in a
#' lower-dimensional biplot when they are computed before versus after
#' projection. If the stat layer detects these aesthetics, then the
#' transformation is performed before projection, and the results in the first
#' two dimensions are returned as `x` and `y`.
#'
#' A small number of transformations ([stat_rule()]) are incompatible with
#' ordination aesthetics but will accept `ord_aes()` without warning.
#'