plot.bayesDensity {bayesSurv} | R Documentation |
Plot an object of class bayesDensity
Description
This function plots an object created by bayesDensity
.
Usage
## S3 method for class 'bayesDensity'
plot(x, k.cond, dim.plot = TRUE, over = TRUE,
alegend = TRUE, standard = TRUE, center = FALSE,
type = "l", bty = "n",
xlab = expression(epsilon), ylab = expression(f(epsilon)),
lty, xlim, ylim, xleg, yleg, main, ...)
Arguments
x |
an object of class |
k.cond |
a numerical vector giving the numbers of mixture components for which the conditional densities
are to be plotted. 0 states for the unconditional (overall) density, averaged over the mixture with all possible
numbers of components. If NULL, all conditional and the
unconditional density found in |
dim.plot |
an indicator whether the dimension of the plot used
in |
over |
an indicator whether all densities should be drawn into
one plot using different types of lines. If |
alegend |
an indicator whether an automatic legend should be added to the plot. |
standard |
logical, do we want to plot standardized density? |
center |
logical, do we want to plot centered density?, set both
|
xleg , yleg |
position of the legend if |
type , bty , xlab , ylab , lty , xlim , ylim , main , ... |
other
arguments passed to the |
Value
No return value.
Author(s)
Arnošt Komárek arnost.komarek@mff.cuni.cz