Learn R Programming

staRdom (version 1.1.28)

eempf_ssccheck: Check SSCs between different models or initialisations of one model

Description

Check SSCs between different models or initialisations of one model

Usage

eempf_ssccheck(
  pfmodels,
  best = length(pfmodels),
  tcc = FALSE,
  cores = parallel::detectCores(logical = FALSE)
)

Value

data.frame containing SSCs

Arguments

pfmodels

list of parafac models

best

number of models with the highest R^2 to be used, default is all models

tcc

logical, if TRUE, TCC instead of SSC is calculated

cores

number of CPU cores to be used

Examples

Run this code
# \donttest{
data(pf_models)

eempf_ssccheck(pf3[1:2], cores = 2)

# SSCs of split-half models, models need to be unlisted
data(sh)
eempf_ssccheck(unlist(sh, recursive = FALSE), cores = 2)
# }

Run the code above in your browser using DataLab