Learn R Programming

VarSelLCM (version 2.1.1)

plot: This function draws information about an instance of '>VSLCMresults.

Description

This function draws information about an instance of '>VSLCMresults.

Usage

# S4 method for VSLCMresults,character
plot(x, y, type, ylim = NULL)

Arguments

x

instance of '>VSLCMresults.

y

character. The name of the variable we are interested in. Otherwise, graphic about general results is ploted.

type

character. Can be cdf or boxplot to plot the distribution of the variable we are interested in. Otherwise, must be pie or bar to obtain information about the discriminative power of the variables and must be probs-overall or probs-class to obtain information about the misclassification probabilities.

ylim

numeric. Define the range of the most discriminative variables to considered (only use if type="pie" or type="bar")

...

Additional argument list that might not ever be used.