squidgroup / squidSim

squidSim in tool for simulating data from multi-level/hierarchical models, including genetic, phylogenetic, temporal and spatial effects
Other
6 stars 0 forks source link

add in simulating non-stochastic environments #4

Open joelpick opened 3 years ago

joelpick commented 3 years ago

work out how to put temporal effects in

joelpick commented 3 years ago

Maybe have an additional argument in the list, something like covariate=TRUE, so indicate that the levels of the factor should be taken as a continuous variable. Then could created a crossed time variable in the structure, that could then be used to make various linear/non-linear effects. This could then be used in the sampling stage, do get temporal sampling schemes

joelpick commented 2 years ago

everything done apart from temporal autocorrelation