What function implements density / quantile functions for the Raised cosine distribution in R? -


I'm looking for the equivalent of qnorm and dnorm In R

 Enter the image details here

  drcosd < - Function (x, mu, s) {(1/2 * s) * (1 + cos (pi * (x-mu) / s)}   

One The creation of prcosd will be considered quite straightforward.

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -