Jan,
There are several ways, so you have options, here is one I did for hen survival analysis using the nest survival model approach that has a continuous covariate that is different for each individual in the sample set. You might also look for work by B. Sandercock (Kansas State) as he has a few papers that use this type of approach as well.
Collier, B. A., K. B. Melton, J. B. Hardin, N. J. Silvy and M. J. Peterson. 2009. Impact of reproductive effort on survival of Rio Grande wild turkey hens in Texas. Wildlife Biology 15:370-379
I worked up this code snippet (in R here, note it requires package rgl) that creates roughly the graph that I never got to put in the paper. I hope it helps.
- Code: Select all
install.packages("rgl")
library(rgl)
for(Days_Nesting in 1:55){
Breeding_Period<-1:118
DSR_RGWT= exp(6.6205449-0.0589883*Days_Nesting)/(1+
exp(6.6205449-0.0589883*Days_Nesting))
DSR_BS<-DSR_RGWT^Breeding_Period
DSR_Final<-as.data.frame(cbind(Days_Nesting, Breeding_Period, DSR_BS))
write(c(t(DSR_Final)), "location.txt", append=T, ncolumns=3)
}
dsr_data<-read.delim("location.txt", header=F, sep="")
attach(dsr_data)
head(dsr_data)
plot3d(V1, V2, V3)
\bret