Usage
simulateCarlina(nSamp=200,nYrs=1000,nSampleYrs=15,
m0=-1.37,ms=0.59,
b0=-12.05,bs=3.64,
A=-1,B=2,
ag=1.14,bg=0.74,sig=0.29,
mean.kids=3.16,sd.kids=0.5,
meanYear=c(0,0,0),
matVarYear=matrix(c(1.03,0,0,0,0.037,0.041,0,0.041,0.075),3,3),
varA=0,varB=0,densDep=TRUE,
maxPerYr=1000,maxStoreSeedlingsPerYr=200,
sizes = c())
Arguments
nSamp
number of samples desired in the base population, defaults to 2000
nYrs
number of years in the simulation, defaults to 1000
nSampleYrs
number of years sampled, defaults to 15
A
intercept reproductive allometry seed production
B
slope reproductive allometry seed production
sd.kids
variance kid size
meanYear
mean year effects
matVarYear
var-covariance in year effects for survival, growth and offspring size
varA
variance in seed intercept year effects - defaults to zero
varB
variance in seed slope year effects - defaults to zero
densDep
density dependence in seedling establishment or not?
maxPerYr
total number of individuals for which measurements will be transferred to the subsequent year (population will be resampled with replacement to obtain a population of this size)
maxStoreSeedlingsPerYr
max number of seedling recruits for which data will be stored in every year
sizes
starting sizes in the population (optional)