Displaying 2 results from an estimated 2 matches for "fishreport".
2012 Jul 18
2
loop searching the id corresponding to the given index (timestamp)
Hello,
I have the following loop for two data sets: diveData_2008 and
diveData_2009. It uses two other data: diveCond_all and fishTable. The
problem is at the point to identify the dive_id for the given index (index
is timestamp). It keeps on saying
for the1st loop
Error in fishReport$dive_id[i] <- dive_id : replacement has length zero
for the 2nd loop
Error in fishReport$dive_id[i + j] <- dive_id :
replacement has length zero
That is where the only problem resides.
Here is the code and below are the first 15 lines of data
N <- dim(diveData_2009)[1] + dim(diveData_2...
2012 Jul 29
1
readRDS, In as.double.xts(fishReport$count) : NAs introduced by coercion
...quot;1" "3.5" "13.9" "1.0686708"
2008-08-06 08:49:00 "Hopkins" "15" "B" "1" "3.5" "13.9" "1.0686708"
> Report$count<-as.numeric(Report$count)
Warning message:
In as.double.xts(fishReport$count) : NAs introduced by coercion
>is.numeric(Report$count)
[1] FALSE
Thank you,
Y
[[alternative HTML version deleted]]