Displaying 2 results from an estimated 2 matches for "itpow".
Did you mean:
ispow
2012 Feb 18
2
still need read.zoo command help
...w is it looks like my read.zoo isn't working.
Sorry for sort of double posting.
Someone please assist if you have time with my read.zoo command line.
my data is as just below this line, a time stamp and a real number with a
comma sep.
10/11/2011 23:00:06,432.12
z=read.zoo("Kevin-0-comma-ITPower.txt",
format="%m/%d/%Y %H:%M:%S",
tz="",
FUN=NULL,
regular=FALSE,
header=FALSE,
sep=",",
index.column=1)
library(zoo)
library(chron)
#this code from Gabor Grothendieck - thanks
# 15 minute aggregate averages
m15 <- ti...
2012 Feb 17
0
error with read.zoo, "Error in xy.coords(x, y) : (list) object cannot be coerced to type 'double'
....zoo in a rather long txt file with two columns:
date/time and value in kW e.g. 432.2189
The read.zoo function finally ran without errors but not sure it is correct.
I took the header off, and put in commas and added a " at the beginning and
" at the end.
z=read.zoo("Kevin-0-comma-ITPower.txt","%m/%d/%Y
%H:%M:%S",header=FALSE,sep=",",index.column=1)
library(zoo)
library(chron)
# 1 minute spline fit
m1 <- times("00:01:00")
g <- seq(trunc(start(z), m1), end(z), by = m1)
na.spline(z, xout = g)
Error in xy.coords(x, y) :
(list) object canno...