Learn R Programming

ldt (version 0.5.3)

get.options.pca: Get Options for PCA

Description

Use this function to get PCA options in estim.bin, estim.sur, estim.varma, or s.pca functions.

Usage

get.options.pca(ignoreFirst = 1, exactCount = 0, cutoffRate = 0.8, max = 1000)

Value

A list with the given options.

Arguments

ignoreFirst

A number representing the number of variables to exclude at the beginning of data matrices (such as intercept) from PCA.

exactCount

A number that determines the number of components to be used. If zero, the number of components is determined by the cutoffRate.

cutoffRate

A number between 0 and 1 that determines the cutoff rate for the cumulative variance ratio in order to determine the number of PCA components. It is not used if exactCount is positive.

max

A number representing the maximum number of components when cutoffRate is used.

Details

See details of s.pca function.

See Also

estim.bin, estim.sur, estim.varma, s.pca

Examples

Run this code
# See 's.pca' function.

Run the code above in your browser using DataLab