Learn R Programming

Kernelheaping (version 2.3.0)

plot.Kernelheaping: Plot Kernel density estimate of heaped data naively and corrected by partly bayesian model

Description

Plot Kernel density estimate of heaped data naively and corrected by partly bayesian model

Usage

# S3 method for Kernelheaping
plot(x, trueX = NULL, ...)

Arguments

x

Kernelheaping object produced by dheaping function

trueX

optional, if true values X are known (in simulations, for example) the 'Oracle' density estimate is added as well

...

additional arguments given to standard plot function

Value

plot with Kernel density estimates (Naive, Corrected and True (if provided))