docs/functions/get.factor.scores.md

get.factor.scores

Get factor scores from a SPEARobject for a particular dataset data.

Description

Get factor scores from a SPEARobject for a particular dataset data.

Usage

get.factor.scores(data = "train", cv = FALSE)

Arguments

Argument |Description ------------- |---------------- data | Which dataset to use? Can be any dataset listed under $data$____. Defaults to "train". cv | If data = "train", get factor scores generated from $run.cv.spear? If $run.spear was used or if data != "train" this parameter is ignored. Defaults to FALSE. NOTE: There is an element of randomness if the factor scores are not correlated with the response, so it is recomended to view the factor scores with cv = FALSE



jgygi/SPEAR documentation built on July 5, 2023, 5:35 p.m.