get.factor.scores: Get factor scores from a SPEAR object for a particular...

View source: R/2_helpers.R

get.factor.scoresR Documentation

Get factor scores from a SPEAR object for a particular dataset 'data'.

Description

Get factor scores from a SPEAR object for a particular dataset 'data'.

Usage

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

Arguments

data

Which dataset to use? Can be any dataset listed under '$data$____'. Defaults to '"train"'.

cv

If 'data = "train"', get factor scores generated from cross validation? If '$run.spear' was used or if 'data != "train"' this parameter is ignored. Defaults to 'FALSE'.


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