Learn R Programming

rtkpp (version 0.8.2)

initialize,ClusterAlgo-method: Initialize an instance of a rtkpp class.

Description

Initialization method of the [ClusterAlgo] class. Used internally in the `rtkpp' package.

Initialization method of the [ClusterCategorical] class. Used internally in the `rtkpp' package.

Initialization method of the [ClusterDiagGaussian] class. Used internally in the `rtkpp' package.

Initialization method of the [ClusterGamma] class. Used internally in the `rtkpp' package.

Initialization method of the [ClusterInit] class. Used internally in the `rtkpp' package.

Initialization method of the [ClusterStrategy] class. Used internally in the `rtkpp' package.

Initialization method of the [IClusterModel] class. Used internally in the `rtkpp' package.

Usage

## S3 method for class 'ClusterAlgo':
initialize(.Object, algo, nbIteration, epsilon)

## S3 method for class 'ClusterCategorical': initialize(.Object, data, nbCluster = 2, modelName = "categorical_pk_pjk")

## S3 method for class 'ClusterDiagGaussian': initialize(.Object, data, nbCluster = 2, modelName = "gaussian_pk_sjk")

## S3 method for class 'ClusterGamma': initialize(.Object, data, nbCluster = 2, modelName = "gamma_pk_ajk_bjk")

## S3 method for class 'ClusterInit': initialize(.Object, method = "random", nbInitRun = 5, algo = clusterAlgo("SEM", 20, 0))

## S3 method for class 'ClusterStrategy': initialize(.Object, nbTry, nbShortRun, initMethod, shortAlgo, longAlgo)

## S3 method for class 'IClusterModel': initialize(.Object, data, nbCluster, modelName)

Arguments