Re: [R] Help with Dates

2007-07-26 Thread Jeffrey J. Hallman
Are you using the latest version of fame? 1.05 and earlier had a bug in tisFromCsv that was fixed in 1.08. Below I show what I get with fame version 1.08. There is still a problem in that the frequency-figuring logic appears to think the frequency is bwsunday (biweekly with weeks ending on

Re: [R] Help with Dates

2007-07-26 Thread Gabor Grothendieck
Yes, I was using 1.05. I get the same result as you with 1.08. On 26 Jul 2007 11:39:41 -0400, Jeffrey J. Hallman [EMAIL PROTECTED] wrote: Are you using the latest version of fame? 1.05 and earlier had a bug in tisFromCsv that was fixed in 1.08. Below I show what I get with fame version

Re: [R] Help with Dates

2007-07-26 Thread Gabor Grothendieck
On 26 Jul 2007 09:59:31 -0400, Jeffrey J. Hallman [EMAIL PROTECTED] wrote: zoo is nice. 'tisFromCsv()' in the fame package is nicer. Jeff 1. What am I doing wrong here? I only get one data column. 2. I assume the regularized dates which do not exactly match the input ones are intended

Re: [R] Help with Dates

2007-07-26 Thread Jeffrey J. Hallman
zoo is nice. 'tisFromCsv()' in the fame package is nicer. Jeff __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented,

Re: [R] Help with Dates

2007-07-23 Thread Hans-Peter
I am taking an excel dataset and reading it into R using read.table. (actually I am dumping the data into a .txt file first and then reading data in to R). If you are on *windows* you could also try my xlsReadWrite package which contains some datetime functions. Exceldates (e.g. formatted as

Re: [R] Help with Dates

2007-07-20 Thread Achim Zeileis
Alex: I am taking an excel dataset and reading it into R using read.table. This sets up a data.frame object. The data you have are probably more conveniently represented as a time series, storing the date in an appropriate format, e.g., in class Date. (actually I am dumping the data into a

[R] Help with Dates

2007-07-19 Thread Alex Park
R I am taking an excel dataset and reading it into R using read.table. (actually I am dumping the data into a .txt file first and then reading data in to R). Here is snippet: head(data); Date Price Open.Int. Comm.Long Comm.Short net.comm 1 15-Jan-86 673.25175645 65910

Re: [R] Help with Dates

2007-07-19 Thread jim holtman
Try some of the following: head(subset(df, Yr %in% c(00,01,02,03))) subset(df, (Yr = '00') (Yr = '03')) # same as above subset(df, (Yr == '00') | (Yr == '01') | (Yr == '02') |(Yr == '03')) # same On 7/19/07, Alex Park [EMAIL PROTECTED] wrote: R I am taking an excel dataset and reading

[R] Help on Dates in R again

2006-09-21 Thread Thorsten Muehge
Hello R Experts, I want to aggregate parameters by week. But our production week ends Friday night instead of Sunday Night which is the default value in R. In order to solve the problem I want to substract two days from the current data and than use the R function

Re: [R] Help on Dates in R again

2006-09-21 Thread Prof Brian Ripley
On Thu, 21 Sep 2006, Thorsten Muehge wrote: Hello R Experts, I want to aggregate parameters by week. But our production week ends Friday night instead of Sunday Night which is the default value in R. The default in ISO8601, not just in R, but that is %W, not %U as used below. In order to