discretizate_density | R Documentation |
Discretizates a univariate density function using Simpson's rule.
discretizate_density(
density,
parameters,
ini_point,
truncation_point,
max_deltat,
max_probability
)
density |
The density function. |
parameters |
Parameters of the density function. |
ini_point |
Initial value for the discretization. |
truncation_point |
Max value for the discretization. |
max_deltat |
Maximum size of interval. |
max_probability |
Maximum probability of a discrete point. |
List with values and weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.