search for: r_wvht

Displaying 4 results from an estimated 4 matches for "r_wvht".

2012 Aug 03
5
replacement has length zero. In addition: Warning message: In max(i) : no non-missing arguments to max; returning -Inf
...ot;, "VIS", "TIDE"))) I tried to copy some fields from this data to another data. I got error. Could you please help? Thanks. diveCond <- data.frame(matrix(0, nrow=97, ncol=17)) names(diveCond) <- c("dive_id", "timestamp", "visability", "r_wvht", "r_dpd", "r_apt", "r_mwd", "r_wtmp", "l_salinity", "l_o2", "l_hs", "l_tp", "l_wdir", "l_along", "l_cross", "l_mab", "l_depth") dive_id <- 0 for(i in 1:dim(div...
2012 Jul 31
3
time series line plot: Error in plot.window(...) : invalid 'xlim' value
Hello, This should be pretty simple but I cannot get it right. Please point to the right code. Thanks. > last <- read.csv(file.path(dataDir,"plot1.csv"), as.is=T,stringsAsFactors = FALSE) > last date r_wvht 1 8/6/2008 0.9766667 2 8/8/2008 0.7733333 3 8/11/2008 1.4833333 4 8/13/2008 1.5766667 5 8/14/2008 1.3900000 6 8/18/2008 0.7800000 7 8/20/2008 0.8383333 8 8/27/2008 1.7700000 9 8/28/2008 1.2950000 10 8/31/2008 2.4100000 11 9/2/2008 1.3166667 12 9/3/2008 1.3075000 13 9/4/20...
2012 Jul 16
4
Error in as.xts
Hi I got the following error using as.xts Error in xts(x, order.by = order.by, frequency = frequency, ...) : NROW(x) must match length(order.by) Here is how the data looks like > d1 <- read.csv(file.path(dataDir,"AppendixA-FishCountsTable-2009.csv"), as.is=T) > d1[1:3,] dive_id date time species count size site depth level TRANSECT VIS_M 1 62 10/12/2009
2012 Jul 18
2
loop searching the id corresponding to the given index (timestamp)
...6.5", " 7.0", " 7.5", " 8.0", " 9.0", "10.0", "12.0", "13.0", "3.0000", "4.0000", "5.0000", "5.4864", "6.0000", "6.0960"), class = "factor"), r_wvht = c(0.91, 1, 1.02, 0.76, 0.78, 0.78, 1.35, 1.35, 1.57, 1.57, 1.53, 1.53, 1.51, 1.53, 1.69), r_dpd = c(14.29, 4.35, 4.35, 13.33, 13.33, 8.33, 8.33, 8.33, 8.33, 8.33, 8.33, 8.33, 9.09, 9.09, 8.33), r_apt = c(4.59, 4.45, 4.26, 5.87, 6.27, 6.58, 6.7, 6.7, 6.67, 6.67, 6.66, 6.5, 6.99, 6....