Dear all
I've tried a spatial capture-recapture in SPACECAP package but got stuck
after uploading the input data files:
"Error in animal capture details file - non-integer or missing values"
Error in if (locso[loc, so + 3] == 0) { :
missing value where TRUE/FALSE needed
I prepared the input capture file according to the manual and the file
should consist from three columns: LOC_ID, ANIMAL_ID, SO (sampling
occasion) so actually no TRUE/FALSE type of data..
I am attaching also the input capture file. Because I am not familiar
with all R functions I would appreciate any suggestion for solving this
problem.
Thank you,
Miroslav Kutal
Error message in SPACECAP package
2 messages · Miroslav Kutal, PIKAL Petr
1 day later
Hi Although I do not know about SPACECAP here are few hints. Usually attachment does not go through, use dput instead. Copy output of dput(head(yourdata)) to the mail. str(yourdata) Gives you (and us if you show the output) some info about your data mode. My opinion is that some column is not the correct type for used function. Regards Petr
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
project.org] On Behalf Of Miroslav Kutal
Sent: Monday, November 04, 2013 12:11 PM
To: r-help at r-project.org
Subject: [R] Error message in SPACECAP package
Dear all
I've tried a spatial capture-recapture in SPACECAP package but got
stuck after uploading the input data files:
"Error in animal capture details file - non-integer or missing values"
Error in if (locso[loc, so + 3] == 0) { :
missing value where TRUE/FALSE needed
I prepared the input capture file according to the manual and the file
should consist from three columns: LOC_ID, ANIMAL_ID, SO (sampling
occasion) so actually no TRUE/FALSE type of data..
I am attaching also the input capture file. Because I am not familiar
with all R functions I would appreciate any suggestion for solving this
problem.
Thank you,
Miroslav Kutal