Displaying 1 result from an estimated 1 matches for "elecload".
2012 May 02
5
uneven vector length issue with read.zoo?
...a that I'm working with
to isolate the issue. Here is the read in data and R script respectively:
http://r.789695.n4.nabble.com/file/n4604287/test.csv test.csv
http://pastebin.com/rCdaDqPm
Here is the terminal/R shell output that I hope the above replicates on your
screen:
> source("elecLoad.r", echo = TRUE)
> #Load packages
> library(zoo)
> library(chron)
> #Initial assignments for format (fmt), timezone (TZ), and user
> #defined chron function (chr)
> fmt = "%m/%d/%y %I:%M %p"
> TZ = "PDT"
> chr = function(x) as.chron(x, fmt)
&g...