Fit Univariate Distributions by Specifying Parameters

fit_univariate_man(distribution, parameters)

Arguments

distribution

distribution character name

parameters

named vector of parameters to set

Value

list of distribution functions for d, p, q, r, and parameters

Examples

manFun <- fit_univariate_man('norm', c(mean = 2, sd = 5))
set.seed(5)
m1 <- mean(manFun$rnorm(100000))
set.seed(5)
m2 <- mean(rnorm(100000, 2, 5))
identical(m1, m2)
#> [1] TRUE