get.factor.scoresGet factor scores from a SPEARobject for a particular dataset data.
Get factor scores from a SPEARobject for a particular dataset data.
get.factor.scores(data = "train", cv = FALSE)
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.