| plot.foldert | R Documentation |
Applies to an object of class foldert (called foldert below) that is a list.
Plots the longitudinal evolution of a numeric variable for every individuals.
## S3 method for class 'foldert'
plot(x, which, na.inter = TRUE, type = "l", ylim = NULL, ylab = which,
main = "", ...)
x |
object of class |
which |
character. Name of a column of the data frames of For each element |
na.inter |
logical. If |
type |
character string (length 1 vector) or vector of 1-character strings (default |
ylim |
ranges of y axis. |
ylab |
a label for the |
main |
an overall title for the plot: see |
... |
optional arguments to |
Internally, plot.foldert builds a matrix mdata containing the data of the variable given by which argument.
The element mdata[ind, t] of this matrix is the value of the variable which for the individual ind: x[[t]][ind, which].
If the ylim argument is omitted, the range of y axis is given by range(mdata, na.rm = TRUE)*c(0, 1.2).
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
Boumaza, R., Yousfi, S., Demotes-Mainard, S. (2015). Interpreting the principal component analysis of multivariate density functions. Communications in Statistics - Theory and Methods, 44 (16), 3321-3339.
foldert: object of class foldert.
as.foldert.data.frame: build an object of class foldert from a data frame.
as.foldert.array: build an object of class foldert from a 3d-array.
data(floribundity)
ftflor <- foldert(floribundity, cols.select = "union", rows.select = "union")
plot(ftflor, which = "nflowers", ylab = "Number of flowers per plant",
main = "Floribundity of rosebushes, 2010, Angers (France)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.