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")
a vector of quantile or pdf
a vector of specifed quantiles to interpolate
mean of the normal distribution
standard deviation of the normal distribution
a string which indicates what type of distribution to return. See details.
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.