sampleDistributionAsTibble: Sample a distribution and return a tibble.

View source: R/dataset.R

sampleDistributionAsTibbleR Documentation

Sample a distribution and return a tibble.

Description

Sample a distribution and return a tibble.

Usage

sampleDistributionAsTibble(distribution, n, colname)

Arguments

distribution

any distribution

n

number of desired samples

colname

name of the unique column in tibble

Value

a tibble of n rows and 1 column


campsis documentation built on Sept. 11, 2024, 7:18 p.m.