library(IUHhelpers)
library(purrr)
library(dplyr)
parameters <- read.csv("data-raw/simulate_parameters.csv",
stringsAsFactors = FALSE) %>%
mutate(noisy_variables = 2 - predictor_variables)
simulations <- pmap(parameters, simulate_lab_data) %>%
bind_rows()
write.csv(simulations, file = "data-raw/simulated_lab_data.csv",
row.names = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.