bri.density | R Documentation |
Density estimation using INLA
bri.density(x, m = 101, from, to, cut = 0.1, diagonal = 0.001,
constr = T, ...)
x |
the data from which the estimate is to be computed. |
m |
the number of equally spaced points at which the density is to be estimated. |
from, to |
the left and right-most points of the grid at which the density is to be estimated. |
cut |
by default, the values of from and to are cut * diff(range(x)) beyond the extremes of the data. |
diagonal |
An extra constant added to the diagonal of the precision matrix in INLA. |
constr |
A boolean variable indicating whater to set a sum to 0 constraint on the term. |
... |
a list containing the following components: x - the n coordinates of the points where the density is estimated; y - the estimated density values; y.lower - the estimated 2.5 percentile of density; y.lower - the estimated 97.5 percentile of density.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.