pcThreshold: Choosing PC's

Description Usage Arguments Value

View source: R/pcThreshold.R

Description

To determine/choose the Principal component Threshold pcThreshold() Determines principle components to use in model based on set threshold

Usage

1
pcThreshold(PC, threshold = 0.014)

Arguments

PC

numeric : principal components generated by "prcomp".

threshold

numeric: the chosen amount or proportion of variance explained by the number of principle components to remain in the model.

Value

PC_T matrix: The chosen number of principal components agreeing with the threshold.


JohnHadish/DJ.GLM.GWAS documentation built on April 5, 2020, 9:05 p.m.