KDEs | R Documentation |
KDEs
Convert a dataset of class distributional
into an object of
class KDEs
for further processing by the summaryplot
function.
KDEs(
x,
from = NA,
to = NA,
bw = NA,
samebandwidth = TRUE,
adaptive = TRUE,
normalise = FALSE,
log = FALSE,
n = 512,
...
)
x |
an object of class |
from |
minimum limit of the x-axis. |
to |
maximum limit of the x-axis. |
bw |
the bandwidth of the kernel density estimates. If
|
samebandwidth |
boolean flag indicating whether the same
bandwidth should be used for all samples. If
|
adaptive |
boolean flag switching on the adaptive bandwidth modifier of Abramson (1982) |
normalise |
boolean flag indicating whether or not the KDEs should all integrate to the same value. |
log |
boolean flag indicating whether the data should by plotted on a logarithmic scale. |
n |
horizontal resolution of the density estimates |
... |
optional parameters to be passed on to |
an object of class KDEs
, i.e. a list containing the
following items:
kdes
: a named list with objects of class KDE
from
: the beginning of the common time scale
to
: the end of the common time scale
themax
: the maximum probability density of all the KDEs
pch
: the plot symbol to be used by plot.KDEs
xlabel
: the x-axis label to be used by plot.KDEs
KDE
data(Namib)
KDEs <- KDEs(Namib$DZ,0,3000,pch=NA)
summaryplot(KDEs,ncol=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.