Learn R Programming

mreg (version 1.2.1)

densityfn: 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, ...)

Value

the value of the density

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