Learn R Programming

cds (version 1.0.3)

clean.scales: Impute Optimal Scores for Rating Categories

Description

Replace original ratings with optimal scores based on cds output..

Usage

clean.scales(object, data, K, col.subset = NULL, ...)

# S3 method for cds clean.scales(object, data, K, col.subset = NULL, ...)

# S3 method for cdslist clean.scales(object, data, K, col.subset = NULL, ...)

Arguments

object

An object of class cds

data

An object of class cdsdata to be cleaned, or the original data.

K

The number of classes in the solution that must be kept.

col.subset

An optional subset

...

Additional arguments.