[Basta-users] how to add b and d dates to data frame?

Cliff Cunningham cliff at duke.edu
Tue Nov 1 14:39:58 CET 2011


Dear Basta,
	
	Your manual tells us how to make data frames for the capture data with CensusToCaptHist.R, and for covariates, but its not clear how to add b and d dates to the capture data.

	This can be easily done in Excel by pasting in the output from the CensusToCaptHist.R program, but then I can't get Basta to accept this data as a data frame. Here is the format I am using:
ID	Birth	Death	1990	1991	1992	1993	1994	1995	1996	1997	1998	1999	2000
1	1990	d1	1	0	0	0	0	0	0	0	0	0	0
2	1992	d2	0	0	1	0	1	0	1	1	0	1	1
3	b1	d3	0	0	1	1	0	0	0	0	1	0	0
4	b2	d4	0	0	0	0	0	0	0	0	0	0	1
5	b3	d5	1	0	0	0	1	1	0	0	0	1	0	


	Thanks!

   	Cliff Cunningham


        Professor
	Biology Department
    	Duke University
        130 Science Drive
	Durham NC 27708
	Phone 919-660-7356

http://www.biology.duke.edu/cunningham




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20111101/b76fac46/attachment.htm>


More information about the Basta-users mailing list