Displaying 1 result from an estimated 1 matches for "sampleseatempdata".
2014 Jun 15
1
reading time series csv file with read.zoo issues, then align time stamps
...The R code I'm trying to get working is as follows: (I'm trying to follow
code provided by Gabor) but I'm too embarrassed to ask him directly again.
fmt <- "%M/%D/%Y %H:%M:%S"
toChron <- function(d, t) as.chron(paste(d, t), format = fmt)
seatemp <- read.zoo ("SampleSeaTempData-2.csv", sep=",", header=TRUE,
FUN=toChron)
I get errors:
> fmt <- "%M/%D/%Y %H:%M:%S"
> toChron <- function(d, t) as.chron(paste(d, t), format = fmt)
> seatemp <- read.zoo ("SampleSeaTempData-2.csv", sep=",", header=TRUE,
> FUN=toC...