Learn R Programming

distrSim (version 2.8.3)

plot-methods: Methods for Function plot in Package `distrSim'

Description

plot-methods

Arguments

Value

An S3 object of class c("plotInfo","DiagnInfo"), i.e., a list containing the information needed to produce the respective plot, which at a later stage could be used by different graphic engines (like, e.g. ggplot) to produce the plot in a different framework. A more detailed description will follow in a subsequent version.

Methods

plot

signature(x = "Dataclass", y="missing"): produces a plot of the data matrix; optional arguments:

obs0

the indices of observations to be plotted;--- of this vector runs0 maximally MaxNumberofPlottedObs runs are plotted where MaxNumberofPlottedObs is a global option, see distrSimoptions

runs0

the indices of runs to be plotted; --- of this vector runs0 maximally MaxNumberofPlottedRuns runs are plotted where MaxNumberofPlottedRuns is a global option, see distrSimoptions

dims0

the indices of observation dimensions to be plotted; --- of this vector dims0 maximally MaxNumberofPlottedObsDims dimensions are plotted where MaxNumberofPlottedObsDims is a global option, see distrSimoptions

typical plot arguments may be passed; some have slightly different meaning (compare plot.default):

ylim

may be transmitted matrixwise (in a 2 x (number of dimensions) matrix)) or globally, using the usual recycling rules

col,cex,pch

may be transmitted vectorwise (for the different dimensions) or globally, using the usual recycling rules

xlab,ylab,type

are ignored

plot

signature(x = "Simulation", y="missing"): produces a plot of the data matrix; optional and typical plot arguments: as with signature(x = "Dataclass", y="missing")

plot

signature(x = "Contsimulation"): produces a plot of the real data matrix; optional arguments: as with signature(x = "Dataclass", y="missing"); typical plot arguments may be passed; some have slightly different meaning (compare plot.default):

ylim

as with signature(x = "Simulation", y="missing") and signature(x = "Dataclass", y="missing")

col,cex,pch

are ignored

col.id,cex.id,pch.id

as col,cex,pch for signature(x = "Dataclass", y="missing") but only for ideal part of the data

col.c,cex.c,pch.c

as col,cex,pch for signature(x = "Dataclass", y="missing") but only for contaminated part of the data

xlab,ylab,type

are ignored