Learn R Programming

miclust (version 1.2.8)

getvariablesfrequency: Calculates the ranked selection frequency of the variables.

Description

Creates a ranked selection frequency for all the variables that have been selected at least once along the analyzed imputed data sets. getvariablesfrequency can be useful for customizing the plot of these frequencies as it is shown in Examples below.

Usage

getvariablesfrequency(x, k = NULL)

Arguments

x

an object of class miclust obtained with the function miclust.

k

the number of clusters. The default value is the optimal number of clusters obtained by the function miclust.

Value

A list including the following items:

percfreq

vector of the selection frequencies (percentage of times) of the variables in decreasing order.

varnames

names of the variables.

See Also

miclust.

Examples

Run this code
# NOT RUN {
### see examples in miclust.
# }

Run the code above in your browser using DataLab