[unparseable or potentially dangerous latex formula]
To import I have used:
- Code: Select all
rat<-import.chdata("rat.txt",field.types=c("f","f","f","n","n","n","n","n"))
This all goes fine, but then I'm not quite sure where to proceed after initial process.data.
- Code: Select all
rats.process=process.data(rats,model="CJS",groups=c("species", "ageclass", "trt"))
rats.ddl=make.design.data(rats.process)
Do I need to make a dummy time variable as I don't have years like used in the example in the book. Basically each weight corresponds to a trapping period and there were four so we have four weights for each individual. We are particularly interested in how weight may affect survival (ie are heavier individuals more likely to survive than lighter ones). For some of our other species we cannot discern an ageclass so we were hoping to be able to use weight instead.
Thanks,
Amanda