mirror of
https://github.com/msberends/AMR.git
synced 2026-06-24 12:16:22 +02:00
(v3.0.1.9059) Fix WISCA in vignette
This commit is contained in:
@@ -17,13 +17,30 @@ As per their GPL-2 licence that demands documentation of code changes, the chang
|
||||
}
|
||||
}
|
||||
\usage{
|
||||
ggplot_pca(x, choices = 1:2, scale = 1, pc.biplot = TRUE,
|
||||
labels = NULL, labels_textsize = 3, labels_text_placement = 1.5,
|
||||
groups = NULL, ellipse = TRUE, ellipse_prob = 0.68,
|
||||
ellipse_size = 0.5, ellipse_alpha = 0.5, points_size = 2,
|
||||
points_alpha = 0.25, arrows = TRUE, arrows_colour = "darkblue",
|
||||
arrows_size = 0.5, arrows_textsize = 3, arrows_textangled = TRUE,
|
||||
arrows_alpha = 0.75, base_textsize = 10, ...)
|
||||
ggplot_pca(
|
||||
x,
|
||||
choices = 1:2,
|
||||
scale = 1,
|
||||
pc.biplot = TRUE,
|
||||
labels = NULL,
|
||||
labels_textsize = 3,
|
||||
labels_text_placement = 1.5,
|
||||
groups = NULL,
|
||||
ellipse = TRUE,
|
||||
ellipse_prob = 0.68,
|
||||
ellipse_size = 0.5,
|
||||
ellipse_alpha = 0.5,
|
||||
points_size = 2,
|
||||
points_alpha = 0.25,
|
||||
arrows = TRUE,
|
||||
arrows_colour = "darkblue",
|
||||
arrows_size = 0.5,
|
||||
arrows_textsize = 3,
|
||||
arrows_textangled = TRUE,
|
||||
arrows_alpha = 0.75,
|
||||
base_textsize = 10,
|
||||
...
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{An object returned by \code{\link[=pca]{pca()}}, \code{\link[=prcomp]{prcomp()}} or \code{\link[=princomp]{princomp()}}.}
|
||||
@@ -42,9 +59,8 @@ ggplot_pca(x, choices = 1:2, scale = 1, pc.biplot = TRUE,
|
||||
}
|
||||
|
||||
\item{pc.biplot}{
|
||||
If true, use what {\if{html}{\cite{}\out{<a href="#reference+biplot.princomp.Rd+R+3AGabriel+3A1971" class="citation">}}Gabriel (1971)\if{html}{\out{</a>}}} refers to as a
|
||||
\dQuote{principal component biplot},
|
||||
with \code{lambda = 1} and observations scaled up by sqrt(n) and
|
||||
If true, use what Gabriel (1971) refers to as a "principal component
|
||||
biplot", with \code{lambda = 1} and observations scaled up by sqrt(n) and
|
||||
variables scaled down by sqrt(n). Then inner products between
|
||||
variables approximate covariances and distances between observations
|
||||
approximate Mahalanobis distance.
|
||||
|
||||
Reference in New Issue
Block a user