generate_two_samples | R Documentation |
The samples are generated by sampling (without replacement) individuals from a supplied tibble representing a virtual experiment. These samples can either be from different individuals (for a between-type study) or from the same individuals measured twice (for a within-type study).
generate_two_samples(is_between, lux_1, lux_2, n, population_df)
is_between |
a Boolean indicating whether experiment is within or between type |
lux_1 |
first measured lux value |
lux_2 |
second measured lux value |
n |
number of individuals in sample |
population_df |
a tibble representing a virtual experiment |
a list of two sets of measured melatonin values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.