Description Usage Arguments Value Examples
Plot the results of DICE run for a single region/patch. We show the incidence along with our fits and if appropriate predictions. We show the best result and randomly selected results from the MCMC chain. This is the ggplot2 version.
1 2 | plotFitOnePatch.ggplot2(model_rtn = NULL, model_profile = NULL,
mydata = NULL, ireal = 1, run.list = NULL, idevice = 1)
|
model_rtn |
A 1D numeric array with the best direct prediction to the region |
model_profile |
A 2D numeric array with randomly chosen predicted profiles obtained by fitting the data |
mydata |
A dataframe with all the data available for this |
ireal |
Integer - the MCMC chain number |
run.list |
A list with various run parameters |
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 | plotFitOnePatch{model_rtn = model_rtn, model_profile = model_profile,
mydata = mydata, ireal = ireal, idevice = device}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.