gen_empirical: gen_empirical

View source: R/distributions.R

gen_empiricalR Documentation

gen_empirical

Description

A function generating a random matrix from an empirical distribution

Usage

gen_empirical(n, m = NULL, param)

Arguments

n

The number rows

data

Data set from which to extract the empirical distribution

Examples

gen_empirical(10, param=list(data=data.frame(S1=c(0.5, 0, 12, 6, 7.3))))


AntoineDubois/sdcv2 documentation built on May 16, 2024, 3:23 p.m.