mastPlot {mastif} | R Documentation |
Plot mast model
Description
Plots data fitted with mastif
in package mastif
.
Usage
mastPlot(output, plotPars = NULL)
Arguments
output |
|
plotPars |
|
Details
If SAVEPLOTS = TRUE
plots are saved to files in outFolder
. If RMD = "pdf"
, output is written to a R markdown file that can be edited and knitted. Maps are not included in this option. Otherwise, plots are rendered to the screen.
More detailed vignettes can be obtained with:
browseVignettes('mastif')
Value
Currently, there are graphical outputs.
Author(s)
James S Clark, jimclark@duke.edu
References
Clark, J.S., C. Nunes, and B. Tomasek. 2019. Foodwebs based on unreliable foundations: spatio-temporal masting merged with consumer movement, storage, and diet. Ecological Monographs, e01381.
See Also
mastSim
simulates data
A more detailed vignette is can be obtained with:
browseVignettes('mast')
website 'http://sites.nicholas.duke.edu/clarklab/code/'.
Examples
# simulate data
seedNames <- specNames <- 'acerRubr'
sim <- list(nyr=10, ntree=30, nplot=5, specNames = specNames, seedNames = seedNames)
inputs <- mastSim(sim)
output <- mastif( inputs = inputs, ng = 4000, burnin = 2000 )
# plot output
# mastPlot( output, plotPars = list(trueValues = inputs$trueValues) )