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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -