search for: dlndln

Displaying 1 result from an estimated 1 matches for "dlndln".

2012 May 02
1
How can I read the "text" or "character string" from a txt file?
Hello, I have a large number of time series, which needs to be transformed by log or difference. Some of them are just processed by "level" (LV) without any transformation. For that purpose, I produce a text file (.csv or .xls) as follows: DLN DLNDLN LV LV LV....... How can I read the preceding strings so that I can easily access them, i.e., S[1]=DLN, S[2]=DLN, S[3]=DLN, S[4]=LV,S[5]=LV,S[6]=LV? I tried read.csv and read.table, but they don't work well. If I can access the string, then I will be able to write an "if" statemen...