MCMCc4photo(data, niter = 20000, ivmax = 39, ialpha = 0.04, ikparm = 0.7, itheta = 0.83, ibeta = 0.93, iRd = 0.8, Catm = 380, b0 = 0.08, b1 = 3, StomWS = 1, ws = c("gs", "vmax"), scale = 1, sds = c(1, 0.005), prior = c(39, 10, 0.04, 0.02), UPPERTEMP = 37.5, LOWERTEMP = 3)
micro mol per meter squared per second
micro mol per meter squared per second
). The
second column should be the observed quantum flux
(micro mol per meter squared
per second
micro mol per meter squared per
second
). The third column should be observed
temperature of the leaf (Celsius). The fourth column
should be the observed relative humidity in proportion
(e.g. 0.7).c4photo
function.c4photo
function.c4photo
function.c4photo
function.c4photo
function.MCMCc4photo
with components
This function implement Markov chain Monte Carlo methods for the C4 photosynthesis model of Collatz et al. The chain is constructed using a Gaussian random walk. This is definitely a beta version of this function and more testing and improvements are needed. The value of this function is in the possibility of examining the empirical posterior distribution (i.e. vectors) of the vmax and alpha parameters. Notice that you will get different results each time you run it.
Brooks, Stephen. (1998). Markov chain Monte Carlo and its application. The Statistician. 47, Part 1, pp. 69-100.
## <strong>Not run</strong>: # ## Using Beale, Bint and Long (1996) # data(obsBea) # # ## Different starting values # resB1 <- MCMCc4photo(obsBea, 100000, scale=1.5) # resB2 <- MCMCc4photo(obsBea, 100000, ivmax=25, ialpha=0.1, scale=1.5) # resB3 <- MCMCc4photo(obsBea, 100000, ivmax=45, ialpha=0.02, scale=1.5) # # ## Use the plot function to examine results # plot(resB1,resB2,resB3) # plot(resB1,resB2,resB3,plot.kind='density',burnin=1e4) # # ## <strong>End(Not run)</strong>