Re: [R] Get the names of the columns in a tserie

2006-10-29 Thread Spencer Graves
Have you tried 'str(X)' on the 'X' object that 'read.ts' created for you? If you've done that and still can't solve your problem, I suggest you review the Introduction to R manual, available as the first option on the left from the html file you get from 'help.start()'. If that still

Re: [R] Get the names of the columns in a tserie

2006-10-27 Thread Gavin Simpson
On Thu, 2006-10-26 at 17:17 -0700, lvdtime wrote: Please, I need this information, it's important for my work By that, do you mean that your time/work is more important than that of the other members of this list? Anyway, yes, there is an equivalent of label(X[, i]). You can use colnames, as in

Re: [R] Get the names of the columns in a tserie

2006-10-27 Thread Martin Maechler
lvdtime == lvdtime [EMAIL PROTECTED] on Thu, 26 Oct 2006 17:17:01 -0700 (PDT) writes: lvdtime Please, I need this information, it's important for my work Well, then do your home work (read the posting guide and follow it!!), instead of sending this again to the several thousand

Re: [R] Get the names of the columns in a tserie

2006-10-26 Thread lvdtime
Please, I need this information, it's important for my work Thank you. lvdtime wrote: Hello everybody, I'm a beginner in R, and I'm currently working on Tseries (analysis of a portfolio) I imported the data like this (library tseries) : X-read.ts(X.dat, start=c(1995,1),

[R] Get the names of the columns in a tserie

2006-10-25 Thread lvdtime
Hello everybody, I'm a beginner in R, and I'm currently working on Tseries (analysis of a portfolio) I imported the data like this (library tseries) : X-read.ts(X.dat, start=c(1995,1), frequency=261, header=T, sep=;) There is a header which contains the names of each column (codes of shares)