Description Usage Arguments Value
Interface to the entire C++ driftSim simulation
1 2 | run_simulation_cpp(flags, hostPopn, virusPars, deltaVMat, iniKs, day,
final_day, input_files, output_files, VERBOSE, scenario, callback)
|
flags |
set of boolean flags for simulation output. See |
hostPopn |
vector of parameters related to the host population. See |
virusPars |
vector of parameters related to the influenza virions. See |
deltaVMat |
matrix of gradients for use in simulating adaptive binding avidity. |
iniKs |
data frame of initial K values |
day |
integer of simulation starting day |
final_day |
integer of simulation final day (steps of 1 day) |
input_files |
vector of input file names, as in |
output_files |
vector of output file names, as in |
VERBOSE |
boolean to indicate how much console output the simulation should have |
scenario |
integer 1 to 4, indicating which version of the model is being run. See |
callback |
pointer to enable call backs to R. Pretty much just for progress bar in the shiny app |
the final virus ID from the simulation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.