powered by
Density function
Density(rt, tt)
a vector of length(tt)
length(tt)
vector of reaction times
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.
densityMethod
estDstarM
x <- rgamma(1e5, 1, 1) tt <- seq(0, 5, .01) d <- Density(x, tt) hist(x, freq = FALSE) lines(tt, DstarM:::Density(x, tt))
Run the code above in your browser using DataLab