Functions to Access Components of the Results of a GSLCCA Analysis

Description

These functions provide ways to access key components of the "gslcca" object returned by the function gslcca.

Usage

1
2
3
4
signatures(object, ...)

## S3 method for class 'gslcca'
fitted(object, ...)

Arguments

object

a "gslcca" object as returned by the function gslcca.

...

arguments to pass on

Value

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.

The fitted method returns the (projected) fitted values from the GSLCCA, i.e. the x scores.

Author(s)

Heather Turner

See Also

gslcca

Examples

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))