Learn R Programming

micss (version 0.2.0)

plot.icss: plot.icss

Description

Plots the output of the ICSS algorithm.

Usage

# S3 method for icss
plot(x, type = "std", title = NULL, ...)

Value

No return value. It generates a plot the output of micss or icss

Arguments

x

An object with the output of icss or micss.

type

Type of graphic. 3 possibilities: "std", which is the default, plots the absolute value of the variable and the standard deviation; "var" plots the squares of the variable and the variance; "res.std" plots the standardized residuals.

title

Title of the graphic.

...

Further arguments passed to or from other methods.

Examples

Run this code
set.seed(2)
e <- c(stats::rnorm(200),3*stats::rnorm(200))
o <- micss(e)
plot.icss(o,title="Example of the MICSS algorithm")

Run the code above in your browser using DataLab