Functions to Access Components of the Results of a GSLCCA Analysis
These functions provide ways to access key components of the
object returned by the function
1 2 3 4
arguments to pass on
signatures returns the signatures estimated in a GSLCCA analysis. These
are the coefficients or loadings of the multivariate response. If a subject
factor was specified in the original analysis, the function returns a data frame
with one column per subject, otherwise a single vector is returned.
fitted method returns the (projected) fitted values from the GSLCCA,
i.e. the x scores.
1 2 3 4 5 6 7 8 9
data(clonidine) banded <- bandSpectra(clonidine$spectra, breaks = c(4, 8, 13, 30), labels = c("delta", "theta", "alpha", "beta", "gamma")) result <- gslcca(banded, "Critical Exponential", time = Time, treatment = Treatment, subject.smooth = TRUE, data = clonidine, subset = Rat == "42") signatures(result) head(fitted(result))
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.