Learn R Programming

SensoMineR (version 1.27)

plot.IdMap: Plot for the Ideal Mapping

Description

Option to replot by zooming on the ideal map.

Usage

# S3 method for IdMap
plot(x, xlim, ylim, levels.contour=NULL, color=FALSE, inverse=FALSE, ...)

Value

Return the IdMap zoomed on the area of interest.

Arguments

x

An object of class IdMap

xlim

The lower and upper limits of interest on the X-axis

ylim

The lower and upper limits of interest on the Y-axis

levels.contour

The levels (between 0 and 1) to consider for the colors on the surface plot. By default, they are set automatically based on the results

color

Boolean, define whether the map is in color or in black and white

inverse

Boolean, define whether the Black/While code should be inversed in the graph

...

further arguments passed to or from other methods

Author

Worch Thierry (thierry@qistatistics.co.uk)

Details

Replot the Ideal Map by zooming on the area of interest

See Also

IdMap

Examples

Run this code
if (FALSE) {
data(perfume_ideal)
res <- IdMap(perfume_ideal, col.p=2, col.j=1, col.lik=ncol(perfume_ideal), id.recogn="id_")
plot.IdMap(res, xlim=c(-7,10), ylim=c(-5,7), levels.contour=NULL, color=TRUE)
plot.IdMap(res, xlim=c(-7,10), ylim=c(-5,7), levels.contour=NULL, color=FALSE, inverse=TRUE)
}

Run the code above in your browser using DataLab