fit_univariate_man: Fit Univariate Distributions by Specifying Parameters

Description Usage Arguments Value Examples

View source: R/distfun.R

Description

Fit Univariate Distributions by Specifying Parameters

Usage

1

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

1
2
3
4
5
6
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)

fitur documentation built on May 2, 2019, 6:37 a.m.