Displaying 1 result from an estimated 1 matches for "trackall".
Did you mean:
trackball
2012 Oct 20
2
can't find the error in if function... maybe i'm blind?
...me the error
"Fehler in if (File$X.Frame.Number[a] + 1 == File$X.Frame.Number[a + 1])
(File$FishNr[a] <- File$FishNr[a - : Fehlender Wert, wo TRUE/FALSE n?tig
ist". Maybe its stupid, but i'm not getting why... Maybe someone can help
me. Thanks a lot!
for (i in unique(BigFile$TrackAll))
{ File <- subset(BigFile,BigFile$TrackAll == i)
File$FishNr [1] <- 1
for ( a in File$X.Frame.Number)
{if(File$X.Frame.Number[a]+1== File$X.Frame.Number[a+1])
(File$FishNr [a] <- File$FishNr[a-1])
else(if (File$X.F...