selectdim: Select training data dimension

Description Usage Arguments Value See Also

View source: R/selectdim.R

Description

a utility function to trim down the matrix of coefficients (NEF)/ PC scores (GPA)

Usage

1
selectdim(train, har, pc)

Arguments

train

Matrix of EFA coefficients or PC scores result from rNEF or rGPA function (called as object$coeff or object$score) to be trimmed down

har

numeric. Number of harmonics (for coefficient matrix)

pc

numeric. Number of pc (for PC score matrix)

Value

coefficients/ PC scores of selected number ready to be used for training

See Also

input from: rNEF, rGPA

optimising pc/har number: pccv, harcv


jinyung/otolith documentation built on May 19, 2019, 10:36 a.m.