densityfn: wrapper to evaluate a density function given by a character...

View source: R/densityfn.R

densityfnR Documentation

wrapper to evaluate a density function given by a character string as an argument

Description

wrapper to evaluate a density function given by a character string as an argument

Usage

densityfn(x, family, ...)

Arguments

x

the element of the sample space at which to evaluate the density

family

the name of the density function, character string

...

other named arguments to feed into the density function

Value

the value of the density


mreg documentation built on Oct. 26, 2023, 5:07 p.m.