Re: [R] Get the names of the columns in a tserie
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), frequency=261, header=T, sep=;) There is a header which contains the names of each column (codes of shares) I'd like to know if it is possible to get the names of the columns (to display it in the plots : ylab=name of the col) To summarize, I wonder if a code like label(X[,i]) exists... Thank you for your help LVDTime -- View this message in context: http://www.nabble.com/Get-the-names-of-the-columns-in-a-tserie-tf2511355.html#a7022436 Sent from the R help mailing list archive at Nabble.com. __ 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, minimal, self-contained, reproducible code.
[R] Get the names of the columns in a tserie
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) I'd like to know if it is possible to get the names of the columns (to display it in the plots : ylab=name of the col) To summarize, I wonder if a code like label(X[,i]) exists... Thank you for your help LVDTime -- View this message in context: http://www.nabble.com/Get-the-names-of-the-columns-in-a-tserie-tf2511355.html#a7003865 Sent from the R help mailing list archive at Nabble.com. __ 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, minimal, self-contained, reproducible code.