Learn R Programming

rtkpp (version 0.8.5)

print,ClusterAlgo-method: Print a rtkpp class to standard output.

Description

Print a rtkpp class to standard output.

Usage

## S3 method for class 'ClusterAlgo':
print(x, ...)

## S3 method for class 'ClusterCategoricalComponent': print(x, k, ...)

## S3 method for class 'ClusterCategorical': print(x, ...)

## S3 method for class 'ClusterDiagGaussianComponent': print(x, k, ...)

## S3 method for class 'ClusterDiagGaussian': print(x, ...)

## S3 method for class 'ClusterGammaComponent': print(x, k, ...)

## S3 method for class 'ClusterGamma': print(x, ...)

## S3 method for class 'ClusterHeterogeneous': print(x, ...)

## S3 method for class 'ClusterInit': print(x, ...)

## S3 method for class 'ClusterPoissonComponent': print(x, k, ...)

## S3 method for class 'ClusterPoisson': print(x, ...)

## S3 method for class 'ClusterStrategy': print(x, ...)

## S3 method for class 'IClusterModelBase': print(x, ...)

## S3 method for class 'IClusterComponent': print(x, ...)

Arguments

x
a rtkpp object: a ClusterStrategy, a ClusterInit or a ClusterAlgo.
...
further arguments passed to or from other methods
k
the number of the cluster to print

Value

  • NULL. Prints to standard out.

See Also

print

Examples

Run this code
## for cluster strategy
  strategy <- clusterStrategy()
  print(strategy)
  ## for cluster init
  init <- clusterInit()
  print(init)
  ## for cluster algo
  algo <- clusterAlgo()
  print(algo)

Run the code above in your browser using DataLab