Displaying 1 result from an estimated 1 matches for "islibrary".
Did you mean:
inlibrary
2011 Apr 13
1
Overcoming warning in package zoo
...lly but when I try to run everything in sequence it bogs down because of a warning after using rollmax from package zoo. Here is the warning:
"In rollmax.zoo(zoo(Pmat), 7, na.pad = FALSE, align = "right") : na.pad is deprecated. Use fill."
The code that generates this warning islibrary(zoo)Pmax <- as.data.frame(rollmax(zoo(Pmat), 7, na.pad = FALSE, align = "right"))
I also obtain the same warning when I run Pmax <- as.data.frame(rollmax(zoo(Pmat), 7, na.pad = TRUE, align = "right"))
Note that Pmat is a 136x271 double matrix and Pmax is a dataframe (265 o...