epdfSample: Draw a random sample from a data frame

Description Usage Arguments Details

View source: R/density_estimates.R

Description

Generate a random sample from an empirical probability density.

Usage

1
epdfSample(ctable, size, count_col = "N")

Arguments

ctable

Count table as returned by getCounts

size

The number of rows

count_col

The column name for counts, usually "N".

Details

The 'cdf' and count_col columns will be discarded.


avirkki/synergetr documentation built on May 18, 2019, 9:16 p.m.