Learn R Programming

rtkpp (version 0.8.5)

missingValues: Return the missing values of a component or a cluster class.

Description

The missing methods allow the user to get the extrapolated mssing values from a mixture model.

Usage

missingValues(x)

## S3 method for class 'ClusterCategoricalComponent': missingValues(x)

## S3 method for class 'ClusterCategorical': missingValues(x)

## S3 method for class 'ClusterGammaComponent': missingValues(x)

## S3 method for class 'ClusterGamma': missingValues(x)

## S3 method for class 'ClusterPoissonComponent': missingValues(x)

## S3 method for class 'ClusterPoisson': missingValues(x)

## S3 method for class 'ClusterDiagGaussianComponent': missingValues(x)

## S3 method for class 'ClusterDiagGaussian': missingValues(x)

## S3 method for class 'ClusterHeterogeneous': missingValues(x)

Arguments

x
an object that can return the extrapolated missing values

Value

  • A matrix with three columns (row index, column index, value)

Examples

Run this code
data(geyser)
  model <- clusterDiagGaussian(geyser,3)
  missingValues(model)

Run the code above in your browser using DataLab