writeMod {GPP} | R Documentation |
Writes Stan code for GPP model
Description
Returns string of Stan code that can be run to estimate the GPP.
Usage
writeMod(noise, ncov, printMod = FALSE)
Arguments
noise |
The desired amount of artificial noise to add to the model. |
ncov |
The number of covariates to include in the model. |
printMod |
Boolean. Defaults FALSE. If TRUE, prints each model block to the console. See details. |
Details
We recommend keeping printMod as FALSE, otherwise, the function will write the model to the console for every model run on the convergence.
Value
A string of Stan code that can be run with runMod
Author(s)
Devin P. Brown devinpbrown96@gmail.com and David Carlson carlson.david@wustl.edu
See Also
plotGPPfit
runMod
GPP
autoConverge
Examples
writeMod(noise = 0.25, ncov = 2)
[Package GPP version 0.1 Index]