R/write_code.R
write_code.Rd
Write Code function
write_code(simulation, endpoint, input_list)
A purpose, either "Simulation" or "Analysis"
An endpoint type, one of "Binary", "Normal" or "Survival"
input from UI