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 Sun

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 intend

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, min

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

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 datase

[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 28