I can't tell what you are doing from that description. See last line to
every message to r-help.
It should be possible to copy your code and just paste it into a running
R session and see the problem If there is interaction give detailed
descriptions.
On Wed, Jul 2, 2008 at 10:42 AM, stephen sef
With that format you will need a custom function based on chron and sub
as you were doing at the beginning.
On Wed, Jul 2, 2008 at 9:53 AM, stephen sefick <[EMAIL PROTECTED]> wrote:
> one other thing- should I read the data in with the argument FUN=as.chron
> ? if this is the case how do I tell
sorry, I am still trying to figure R out. window worked just fine with
chron, but when I use
d <- locator()
as.chron(d)
it returns results that are not consistent with the plot do I need to put in
the format argument. I am still trying to figure out these date time
classes.
On Wed, Jul 2, 200
Same with 1.5-3
> methods(window)
[1] window.default* window.ts* window.zoo*
Non-visible functions are asterisked
> packageDescription("zoo")$Version
[1] "1.5-3"
> R.version.string
[1] "R version 2.7.1 RC (2008-06-16 r45949)"
On Wed, Jul 2, 2008 at 10:31 AM, Gabor Grothendieck
<[EMAIL P
Seems to be there:
> library(zoo)
> methods(window)
[1] window.default* window.ts* window.zoo*
Non-visible functions are asterisked
> packageDescription("zoo")$Version
[1] "1.5-2"
On Wed, Jul 2, 2008 at 10:08 AM, stephen sefick <[EMAIL PROTECTED]> wrote:
> R 2.7.1 windows xp and versio
R 2.7.1 windows xp and version of zoo upgraded with new installation of R
2.7.1 yesterday from CA1 mirror
window.zoo is not there?
On Wed, Jul 2, 2008 at 10:00 AM, Gabor Grothendieck <[EMAIL PROTECTED]>
wrote:
> ?plot.zoo and the zoo faq vignette have examples of custom axes.
> In the case of chr
one other thing- should I read the data in with the argument FUN=as.chron
? if this is the case how do I tell chron that the data is not in
-mm-dd HH:MM:SS but in the format m/d/y HH:MM:SS ?
thanks
stephen
On Wed, Jul 2, 2008 at 9:32 AM, stephen sefick <[EMAIL PROTECTED]> wrote:
> Like for
?plot.zoo and the zoo faq vignette have examples of custom axes.
In the case of chron, the axes are done by chron:::axis.times in
the chron package.
On Wed, Jul 2, 2008 at 9:32 AM, stephen sefick <[EMAIL PROTECTED]> wrote:
> Like for instance that the xlim is small enough where the plot is showing
Like for instance that the xlim is small enough where the plot is showing
the day instead of the year (I believe). Now that I have figured this out
(I think). I would like to know if there is a way to tell plot.zoo how to
print the date ranges easily. When I did the example in my previous email
I have a matrix with data that runs from 1/1/06 00:01:00-1/31/08 23:46:00.
I have read in the data with this
fmt.chron <- function(x) {
chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x))
}
x <- read.zoo(file.choose(), sep=",", header=T, FUN=fmt.chron)
plotted with this
plot(x[,(seq(3, by=
10 matches
Mail list logo