sample | R Documentation |

Sample generic object.

```
sample(object, n, ...)
## S4 method for signature 'constant_distribution,integer'
sample(object, n)
## S4 method for signature 'fixed_distribution,integer'
sample(object, n)
## S4 method for signature 'function_distribution,integer'
sample(object, n)
## S4 method for signature 'bootstrap_distribution,integer'
sample(object, n)
## S4 method for signature 'bolus,integer'
sample(object, n, ...)
## S4 method for signature 'infusion,integer'
sample(object, n, ...)
## S4 method for signature 'observations,integer'
sample(object, n, ...)
## S4 method for signature 'covariate,integer'
sample(object, n)
## S4 method for signature 'bootstrap,integer'
sample(object, n)
## S4 method for signature 'campsis_model,integer'
sample(object, n)
```

`object` |
generic object |

`n` |
number of samples required |

`...` |
extra arguments |

sampling result

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.