fdlabels | R Documentation |
Extract plot labels and, if available, names for each replicate and variable
fdlabels(fdnames, nrep, nvar)
fdnames |
a list of length 3 with xlabel, casenames, and ylabels. |
nrep |
integer number of cases or observations |
nvar |
integer number of variables |
xlabel <- if(length(fdnames[[1]])>1) names(fdnames)[1] else fdnames[[1]]
ylabel <- if(length(fdnames[[3]])>1) names(fdnames)[3] else fdnames[[3]]
casenames <- if(length(fdnames[[2]])== nrep)fdnames[[2]] else NULL
varnames <- if(length(fdnames[[3]])==nvar)fdnames[[3]] else NULL
A list of xlabel, ylabel, casenames, and varnames
Jim Ramsay
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
plot.fd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.