generate.distribution: Randomly sample values from a distribution

View source: R/distribution.R

generate.distributionR Documentation

Randomly sample values from a distribution

Description

[Stable]

Generate random samples from probability distributions.

Usage

## S3 method for class 'distribution'
generate(x, times, ...)

Arguments

x

The distribution(s).

times

The number of samples.

...

Additional arguments used by methods.


distributional documentation built on Sept. 17, 2024, 9:11 a.m.