eval_density_R.Rd
A function to evaluate the quantile or density of given data based on normal distribution
eval_density_R(y, alphas, m = 1, s = 1, distn = "p", tails = "gaussian")
y | a vector of quantile or pdf |
---|---|
alphas | a vector of specifed quantiles to interpolate |
m | mean of the normal distribution |
s | standard deviation of the normal distribution |
distn | a string which indicates what type of distribution to return. See details. |
tails | what distribution to use for the tails |
A vector of quantiles or density corresponding to y
the distn
argument takes on "p" to evaluate a PF, "c" to evaluate a CDF,
and "q" to evaluate a quantile distribution.