What function implements density / quantile functions for the Raised cosine distribution in R? -
I'm looking for the equivalent of One qnorm and
dnorm In R
drcosd < - Function (x, mu, s) {(1/2 * s) * (1 + cos (pi * (x-mu) / s)}
The creation of prcosd will be considered quite straightforward.
Comments
Post a Comment