Calculates density at n points across the range of a parameter

pr.dens(distn, parama, paramb, n = 1000, alpha = 0.001)

Arguments

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)

Value

dataframe with equally spaced x values and the corresponding densities

Details

For a distribution and parameters, return the density for values ranging from alpha to 1-alpha