powered by
Returns string of Stan code that can be run to estimate the GPP.
writeMod(noise, ncov, printMod = FALSE)
The desired amount of artificial noise to add to the model.
The number of covariates to include in the model.
Boolean. Defaults FALSE. If TRUE, prints each model block to the console. See details.
A string of Stan code that can be run with runMod
runMod
We recommend keeping printMod as FALSE, otherwise, the function will write the model to the console for every model run on the convergence.
plotGPPfit runMod GPP autoConverge
plotGPPfit
GPP
autoConverge
# NOT RUN { writeMod(noise = 0.25, ncov = 2) # }
Run the code above in your browser using DataLab