boot_worker: Worker function for cluster bootstrapping

View source: R/boostrap_clust_validation.R

boot_workerR Documentation

Worker function for cluster bootstrapping

Description

Worker function for cluster bootstrapping

Usage

boot_worker(object, wdata, tol, maxiter, init)

Arguments

object

A FCMres object, typically obtained from functions CMeans, GCMeans, SFCMeans, SGFCMeans

wdata

The lagged dataset if necessary, can be NULL if not required

tol

The tolerance criterion used in the evaluateMatrices function for convergence assessment

maxiter

An integer for the maximum number of iteration

init

A string indicating how the initial centres must be selected. "random" indicates that random observations are used as centres. "kpp" use a distance based method resulting in more dispersed centres at the beginning. Both of them are heuristic.

Details

The worker function for the functions boot_group_validation and boot_group_validation.mc

Value

A list, similar to a FCMres object, but with only necessary slots for cluster bootstraping.

Examples

# this is an internal function, no example provided

geocmeans documentation built on Sept. 12, 2023, 9:06 a.m.