KDE_utils | R Documentation |
Utilities for KDE fits
KDE.load
copies KDE distribution functions from a KDE object to a target environment.
print.kde
prints the KDE object and returns it invisibly.
plot.kde
draws a plot of the KDE.
KDE.load(object, envir = NULL, overwrite = TRUE) ## S3 method for class 'kde' print(x, digits = 6, ...) ## S3 method for class 'kde' plot( x, digits = 6, n = 512, cut = 4, fill.colour = "dodgerblue", fill.color = fill.colour, ... )
object, x |
A KDE object |
envir |
The target environment |
overwrite |
If FALSE, aborts if the function names are already present in the target environment |
digits |
Number of digits to print |
... |
unused |
n |
number of bins |
cut |
cutoffs for xaxis (in steps of bw) |
fill.colour, fill.color |
fill color of bars |
KDE.load returns envir
print.kde
returns x
, invisibly
plot.kde
returns the plot as recorded by recordPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.