randfn: wrapper to generate random samples from a density function...

View source: R/randfn.R

randfnR Documentation

wrapper to generate random samples from a density function given by a character string as an argument

Description

wrapper to generate random samples from a density function given by a character string as an argument

Usage

randfn(n, family, ...)

Arguments

n

the number of samples to generate

family

the name of the density function, character string

...

other named arguments to feed into the density function

Value

the vector of samples


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