pr.dens.Rd
Calculates density at n points across the range of a parameter
pr.dens(distn, parama, paramb, n = 1000, alpha = 0.001)
distn | distribution |
---|---|
parama | parameter |
paramb | parameter |
n | length of vector to be returned |
alpha | sets range at which the distribution will be evaluated (e.g. from alpha to 1-alpha) |
dataframe with equally spaced x values and the corresponding densities
For a distribution and parameters, return the density for values ranging from alpha to 1-alpha