knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Here are answers to some common questions about ade4 (more to come soon).
ade4
?The easiest way to install ade4 is to use install.packages("ade4")
in your R session.
ade4
?To install the development version from github:
remotes::install_github("adeverse/ade4")
ade4
version I'm using?In your R session, type:
packageDescription("ade4", field="Version")
adegraphics
?The package adegraphics
provides a complete reimplementation of graphical functionalities of ade4
. It is based on lattice
and provides a convenient way to manage graphics as objects. Moreover, it offers much more flexibility than ade4
to customize your plots.
adegraphics
?As adegraphics
provides a reimplementation of ade4
graphical functions, many functions have the same name in the two packages. To be sure to use adegraphics
functions, adegraphics
should be loaded after ade4
:
library(ade4) library(adegraphics)
An alternative it to explicitly specify the package in the call using the ::
operator:
adegraphics::s.label()
s.class
function?The ellipses represent the main variation for individuals of a given class. They are based on inertia statistics not on significance levels.
In simple analysis (e.g., dudi.pca
), scores for individuals are stored in $li
element of the returned object
In simple analysis (e.g., dudi.pca
), scores for variables are stored in $co
element of the returned object
$l1
and $c1
elements of a dudi ?In simple analysis (e.g., dudi.pca
), the $c1
element contains the principal axes (aka "loadings" of the variables) and the $l1
element contains the principal components. The norm of these two elements is equal to 1, which makes them useful for drawing biplots (for example).
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.