powered by
The lines method for pdfEstimator objects.
# S3 method for PDFe lines(x, showOutlierPercent = 0, outlierColor = "red3", lwd = 2, ...)
No return value, called for side effects
an "estimatePDF" object
specify confidence threshold for outliers
color for outliers positions outside of threshold defined in showOutlierPercent
line width for pdf. If plotPDF = FALSE and plotSQR = TRUE, then the sqr plot uses this line width
further plotting parameters
Jenny Farmer, Donald Jacobs
Farmer, J. and D. Jacobs (2018). "High throughput nonparametric probability density estimation." PLoS One 13(5): e0196937.
plot(estimatePDF(rnorm(1000, 0, 1))) lines(estimatePDF(rnorm(1000, 0, 1)), col = "gray")
Run the code above in your browser using DataLab