Density | R Documentation |
Density function
Density(rt, tt)
rt |
vector of reaction times |
tt |
grid to evaluate the density on |
Can be passed to the argument densityMethod
of estDstarM
. This function is a minimal
example to use as custom smoothing function.
a vector of length(tt)
x <- rgamma(1e5, 1, 1)
tt <- seq(0, 5, .01)
d <- Density(x, tt)
hist(x, freq = FALSE)
lines(tt, DstarM:::Density(x, tt))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.