[Basta-users] One in the recapture matrix in birth year
Fernando Colchero
colchero at imada.sdu.dk
Thu May 16 16:19:34 CEST 2013
Hi Adam,
I'm a bit puzzled by your problem, maybe you could send me a subset of your data (if you want the first 10 rows) and the code you're using so I can check why this is happening. There might be a bug in the code or maybe there's something particular in the data.
Best,
Fernando
Fernando Colchero
Assistant Professor
Department of Mathematics and Computer Science
Max-Planck Odense Center on the Biodemography of Aging
Tlf. +45 65 50 46 35
Email colchero at imada.sdu.dk
Web www.sdu.dk/staff/colchero
Pers. web www.colchero.com
Adr. Campusvej 55, 5230, Odense, Dk
University of Southern Denmark
On 16 May 2013, at 14:21, Adam Hayward <a.hayward at sheffield.ac.uk> wrote:
> Dear list members,
>
> I have recently started to use BaSTA, but have come across an error while using the DataCheck function which I cannot solve. I receive the message "The following rows have a one in the recapture matrix in the birth year: (ALL THE ROWS OF MY DATAFRAME are then listed". Having removed the birth year of all individuals from their capture history (corresponding to censusMat in the tutorial, for instance), the error still appears, even though the collated dataset, which combines the capture history, covariates and birth and death dates clearly shows a "0" in the birth year of all individuals in the capture records. The fact that the error apparently applies to every row of the data indicates to me that it's a silly error on my part, but I genuinely cannot see one. I wonder if anyone else has come across a similar problem and has any advice- I'd be very grateful.
>
> Many thanks,
> Adam
>
> --
> Adam Hayward
> Post-Doctoral Research Associate
> Department of Animal and Plant Sciences
> Alfred Denny Building
> University of Sheffield
> Western Bank
> Sheffield S10 2TN
> UK
> http://www.huli.group.shef.ac.uk/adam-personal.html
> http://adhayward.wordpress.com/
> https://twitter.com/adhayward18
>
> _______________________________________________
> Basta-users mailing list
> Basta-users at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/basta-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/basta-users/attachments/20130516/88cdb404/attachment.html>
More information about the Basta-users
mailing list