View source: R/get_test_scores.R
get_test_scores | R Documentation |
A function returning simulated data on test_scores.
get_test_scores(
effect_size = 15,
n_students = 1000L,
n_grades = 4L,
include_unobservables = FALSE,
random_assignment = FALSE
)
effect_size |
Effect of attending camp on subsequent test scores |
n_students |
Number of students in simulated data set |
n_grades |
Number of grades in simulated data set |
include_unobservables |
Include talent in returned data (TRUE or FALSE) |
random_assignment |
Is assignment to treatment completely random? (TRUE or FALSE) |
tbl_df
set.seed(2021)
library(dplyr, warn.conflicts = FALSE)
get_test_scores() %>% head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.