get.predictions: Get predictions from a SPEARobject and a dataset 'data'.

View source: R/2_helpers.R

get.predictionsR Documentation

Get predictions from a SPEARobject and a dataset 'data'.

Description

Get predictions from a SPEARobject and a dataset 'data'.

Usage

get.predictions(data = "train", cv = TRUE)

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 '$run.cv.spear'? If '$run.spear' was used or if 'data != "train"' this parameter is ignored. Defaults to 'TRUE'.


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