Description Usage Arguments Value Examples
For now this is just a wrapper that calls the DICE plotHists.ggplot2
function
Plots two histogram files one for the observed and predicted peak week and the other for the
observed and predicted % ILI value for all weeks included in the range of the number of weeks fitted
to the number of weeks of mydata. The % ILI is presented in bins of 0.5%.The default is to
fit all the available data. In each case we first plot the results for all the fit regions, followed by
the results for an indirect (coupled or uncoupled) fit to the model region, and the last panel is for
the direct fit to the model region.
1 2 3 |
rtn |
A 1D numeric array with the best in-direct prediction to the model region |
profile |
A 3D numeric array holding random predictions for each of the fit regions based on the history of their MCMC chains. |
model_rtn |
A 1D numeric array with the best direct prediction to the model region |
model_profile |
A 2D numeric array with randomly chosen predicted profiles obtained by fitting the model region directly. |
mydata |
A dataframe with all the data available for this DICE run |
ireal |
Integer - the MCMC chain number |
run.list |
a list with various parameters for the run |
idevice |
Integer - the index of the device in the device array. Default is 1 - make only one format of plot results |
Returns err = 0 if successful
1 2 | plotHists.external(rtn = rtn, profile = profile, model_rtn = model_rtn, model_profile = model_profile,
mydata = mydata, ireal = ireal, run.list = run.list, idevice = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.