Displaying 3 results from an estimated 3 matches for "a_fx_m".
Did you mean:
a_fm
2012 Jul 26
1
How can I correctly access a string element of a dataframe?
...wing program) and the file name is stored in a dataframe. Since I have
several files to read, I store the file names as well as the sample period
inside a file ?B_M2Q.csv? and I read the file name first, and then read the
data file.
The content of the file "B_M2Q.csv" is
FX
"A_FX_M.csv"
"1981-01"
"2012-06"
Int
"A_Int.csv"
"1970-01"
"2012-03"
(The file is attached to this email)
The three-line program is as follows:
m2q<-read.csv(file="B_M2Q.csv", header=FALSE) # Read the file containing
file n...
2012 Jul 27
2
How can I access the title of a table read via read.csv?
Hi,
I have a table which I can read via read.csv:
fx1<-read.csv(file="A_FX_M.csv", header=TRUE)
TIME REER NTD JPY GBP HKD
1 198001 124.26 36.030 237.96 2.263980 4.8366
2 198002 126.59 36.030 244.05 2.290426 4.8765
3 198003 128.33 36.026 248.62 2.206045 4.9960
4 198004 127.85 36.063 251.67 2.215330 4.9760
5 198005 124.40 36.050 228.35 2.302026 4.889...
2012 Jul 27
2
How can I access an element of a string?
...jpm miao
> > Sent: Thursday, July 26, 2012 9:12 PM
> > To: r-help
> > Subject: [R] How can I access the title of a table read via read.csv?
> >
> > Hi,
> >
> > I have a table which I can read via read.csv:
> >
> > fx1<-read.csv(file="A_FX_M.csv", header=TRUE)
> >
> > TIME REER NTD JPY GBP HKD
> > 1 198001 124.26 36.030 237.96 2.263980 4.8366
> > 2 198002 126.59 36.030 244.05 2.290426 4.8765
> > 3 198003 128.33 36.026 248.62 2.206045 4.9960
> > 4 198004 127.85 36.063 251.67 2...