Usage
## S3 method for class 'pendensity':
plot(x, plot.val = 1, val=NULL, latt = FALSE, kernel = FALSE, confi = TRUE,
main = NULL, sub = NULL, xlab = NULL, ylab = NULL, plot.base = FALSE,
lwd=NULL,legend.txt=NULL,...)
Arguments
x
object of class pendensity
plot.val
if plot.val=1 the density is plotted, if plot.val=2
the distribution function of the observation values is plotted, if
plot.val=3 the distribution function is plotted as function
val
vector of y, at which the estimated density should be calculated
latt
TRUE/FALSE, if TRUE the lattice interface should be used for plotting, default=FALSE
kernel
TRUE/FALSE, if TRUE a kernel density estimation should be added to the density plots, default=FALSE
confi
TRUE/FALSE, if TRUE confidence intervals should be added to the density plots, default=TRUE
main
Main of the density plot, if NULL main contains settings 'K', 'AIC' and 'lambda0' of the estimation
sub
sub of the density plot, if NULL sub contains settings used base 'base' and used order of B-Spline 'q'
xlab
xlab of the density plot, if NULL xlab contains 'y'
ylab
ylab of the density plot, if NULL ylab contains 'density'
plot.base
TRUE/FALSE, if TRUE the weighted base should be added to the density plot, default=FALSE
lwd
lwd of the lines of density plot, if NULL lwd=3, the confidence bands are plotted with lwd=2
legend.txt
if FALSE no legend is plotted, legend.txt can get a
vector of characters with length of the groupings. legend.txt works
only for plot.val=1