Skip to contents

Sample generic object.

Usage

sample(object, n, ...)

# S4 method for constant_distribution,integer
sample(object, n)

# S4 method for fixed_distribution,integer
sample(object, n)

# S4 method for function_distribution,integer
sample(object, n)

# S4 method for bootstrap_distribution,integer
sample(object, n)

# S4 method for bolus,integer
sample(object, n, ...)

# S4 method for infusion,integer
sample(object, n, ...)

# S4 method for observations,integer
sample(object, n, ...)

# S4 method for covariate,integer
sample(object, n)

# S4 method for bootstrap,integer
sample(object, n)

# S4 method for campsis_model,integer
sample(object, n)

Arguments

object

generic object

n

number of samples required

...

extra arguments

Value

sampling result