Description Usage Arguments Details Value Author(s) References See Also Examples
Evaluate the modal regions for a data set. Only the version for circular data is implemented.
1 2 3 4 5 6 7 |
x |
numeric or an object of class |
z |
numeric or object of class |
q |
numeric in the interval [0,1]. The quantile of the modal region. |
bw |
the smoothing bandwidth to be used. When the |
adjust |
the bandwidth used is actually |
type |
Not Yet Used. |
kernel |
a character string giving the smoothing kernel to be
used. This must be one of |
na.rm |
logical; if |
step |
numeric. Used in the construction of the regular grid |
eps.lower,eps.upper |
the cut point in the density is searched in the interval [min(density)*(1+eps.lower),max(density)*(1-eps.upper)]. |
... |
further arguments passed to the next methods. |
Only the version for circular data is actually implemented.
A list of class modal.region.circular
with the following elements
zeros |
extremes of modal regions, possible as a matrix |
areas |
a list with two components: |
density |
the object from function |
q |
the modal region order as in input. |
level |
the cut point at the density scale. |
Claudio Agostinelli
L.G.R. Oliveira-Santos, C.A. Zucco and C. Agostinelli (2013) Using conditional circular kernel density functions to test hypotheses on animal circadian activity. Animal Behaviour, 85(1) 269-280.
1 2 3 | x <- rvonmises(100, circular(pi), 10)
res <- modal.region(x, bw=50)
plot(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.