View source: R/z_projections.R
UnivariateProjection | R Documentation |
Univariate projection
UnivariateProjection(
X,
Y = NULL,
grp = NULL,
proportions = NULL,
ordering = NULL,
rounding = 2,
spray = "uniform",
fwhm = 1/2,
violin = FALSE,
vmode = "linear"
)
X |
numeric vector or matrix with positive values, for instance representing
empirical densities or weights. When providing a matrix, each column of X
corresponds to a group, and the membership of each observation (rows) is
being defined by the |
grp |
vector representing group memberships, required only when the |
proportions |
either "static", "global", "local" or NULL (default, no proportions). In static mode, the areas representing each group are equal. In global mode, these areas are proportional to the global population of each group and in local mode, these areas are proportional to the local population of each group. |
ordering |
either "static", "global" or "local" or NULL (default, no ordering). In static mode, groups are ordered by their numeric identifier. In global mode, groups are ordered by their global population and in local mode, groups are ordered by their local population. |
rounding |
integer (default = 2). |
spray |
defines the distribution used to generate noise values.
This can be either |
fwhm |
positive numeric value defining the Full Width at Half Maximum of the normal
distribution used when |
violin |
logical (default = FALSE, no). |
vmode |
either "linear" (default) or "rank". |
UnivariateProjection
returns a numeric vector representing 1D
coordinates.
BivariateProjection, Atomize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.