Displaying 1 result from an estimated 1 matches for "mxdef".
Did you mean:
mxdec
2010 Feb 12
1
popbio and stochastic lambda calculation
...0.467) # vital rate means
var = c(0.213, 0.252, 0.241, 0.133, 0.0405) #variances of means
var.se = c(0.106, 0.107, 0.142, 0.149, 0.09) #standard errors of means
types = c(1,1,1,1,1) #for vrtypes argument
ex.vrs = data.frame(cbind(mean, var, var.se, types))
attach(ex.vrs)
## Define the matrix
ex.mxdef= function (vrs)
{
matrix(c(0, 0, 0, 0,
vrs[5]*vrs[1],
vrs[2], 0, 0,
0, 0,
0, vrs[3], 0,
0, 0,
0,...