R must be installed
https://www.r-project.org/ as well as
the R packages tidyverse
https://www.tidyverse.org/ and rstan
https://mc-stan.org/users/interfaces/rstan.html
The .R files can be run interactively or in BATCH mode.
OS note: The code should run unmodified under Windows, Linux, or Mac. It has been tested under Windows and Linux.
data/PE_Florida_ambient_plus_panel_temps.xlsxPE_FL_outdoor_meta_data_Aug_162016_to_Feb_282017.xlsxpe_indoor_data.xlsxsealanta_FL_ambient_conditions.csvsealanta_indoor_data.csvsealanta_outdoor_modulus_measurements_9_15_to_2_17.csvtwo_stage_trial_1.csvtwo_stage_trial_2.csvtwo_stage_trial_3.csvtwo_stage_trial_4.csv
R_code/run_pe_model.R- input --
data/pe_indoor_data.xlsxandstan_code/pe_model.stan - output --
pe_post_samps.rds - dependencies -- None
- input --
run_sealanta_model.R- input --
data/sealanta_indoor_data.csvandstan_code/sealanta_model.stan - output --
sealanta_post_samps.rds - dependencies -- None
- input --
predict_2_stage.R- input --
data/sealanta_indoor_data.csvanddata/two_stage_trial_*.csvandsealanta_post_samps.rds. The value of the symbol "*" is set inside of the script in two places, the variablesfile_pathandsave_name - output --
predict_two_stage_trial_*.pdf - dependencies -- The script
run_sealanta_model.Rmust be ran first
- input --
pe_interpolate_outdoor_values.R- input --
data/Florida_ambient_plus_panel_temps.xlsx - output --
data/PE_FL_ambient_conditions_after_interp.csv - dependencies -- None
- input --
sealanta_interpolate_outdoor_values.R- input --
data/sealanta_FL_ambient_conditions.csv - output --
data/sealanta_FL_ambient_conditions_after_interp.csv - dependencies -- None
- input --
pe_outdoor_predictions.R- input --
data/PE_FL_ambient_conditions_after_interp.csv,data/PE_FL_outdoor_meta_data_Aug_162016_to_Feb_282017.xlsx,data/pe_indoor_data.xlsx, andpe_post_samps.rds. A variable in the script calledtest_groupalso must be set, taking values 14, 17, 18, 20, 22, or 23 - output --
outdoor_predictions_measurements_overlaid_test_group_*.pdf, where the "*" symbol is the value of the variabletest_group. - dependencies -- The scripts
run_pe_model.Randpe_interpolate_outdoor_values.Rmust be ran first
- input --
sealanta_predict_outdoor.R- input --
data/sealanta_outdoor_modulus_measurements_9_15_to_2_17.csv,data/sealanta_indoor_data.csv,data/sealanta_FL_ambient_conditions_after_interp.csv, andsealanta_post_samps.rds. A variable in the script calledtest_numalso must be set, taking values 1 through 7 - output --
outdoor_comparison_test_num_*.pdf, where the "*" symbol is the value of the variabletest_num - dependencies -- The scripts
run_sealanta_model.Randsealanta_interpolate_outdoor_values.Rmust be ran first
- input --
stan_code/pe_model.stansealanta_model.stan