Learn R Programming

cabootcrs (version 2.1.0)

allvarscovs: Extract all variances and covariances in readable form as a data frame

Description

allvarscovs extracts all variances and covariances for either rows or columns and puts them in a data frame

Usage

allvarscovs(x, thing = "columns")

Arguments

x

An object of class '>cabootcrsresults

thing

Whether to extract the variances for

"rows"

rows, or

"columns"

columns

Note that default is "columns" as this is more convenient for MCA

Value

A data frame with one row for each row or column category

See Also

cabootcrs-package, cabootcrs, covmat, '>cabootcrsresults

Examples

Run this code
# NOT RUN {
results <- cabootcrs(DreamData, showresults=FALSE)
rowvars <- allvarscovs(results,"rows")
colvars <- allvarscovs(results,"columns")

# }
# NOT RUN {
resultsmca <- cabootcrs(DreamData223by3, catype="mca", showresults=FALSE)
allvars <- allvarscovs(resultsmca)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab