Description Usage Arguments Examples
A function to standardize the random selection of bulbs for the LED project in BYUI's MATH 119.
1 2 3 4 5 6 7 |
number_bulbs |
The number of bulbs to sample. Defaults to 1. The most changed argument to the function. |
seed |
is used to make the random sample reproducible. May change at teacher request. |
dat |
is the data object from which the sample is taken. Defaults to led_study. |
columns_keep |
are the columns that should be returned from dat. Defaults to keep all the columns. |
1 | led_bulb(2, seed = 1976)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.