booStrapStabilityforK: booStrapStabilityforK chechs stability

Description Usage Arguments Value

Description

booStrapStabilityforK chechs stability

Usage

1
2
3
booStrapStabilityforK(data, Kmax = 5, nBoot = 10, gBoot = FALSE,
  group = NULL, crit = "ICL", fileName = "KStat", model = "all",
  resDir = "", mc.cores = 2)

Arguments

data

the data to boostrap from

Kmax

the maximum number of components

nBoot

the number of boostrap sampling

gBoot

logical if TRUE a parametric boostrap who preserves group structure, and in this case argument group as to be specified, if FALSE a force brut boostrap (choose n among n)

group

a vector specifying a group for each individual, requires for parametric bootstrap

crit

the criterion to be maximixed for the selection of the number of components

fileName

the name uses to store the results

model

the kind of model to be tested

resDir

the optionnal directory name to store the results

mc.cores

the number of cores to be used default is 2

Value

a nBoot length vector containing the number of groups selected


MarieEtienne/MixtLiP documentation built on May 7, 2019, 2:51 p.m.