search for: i_wave1

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

Did you mean: ts_wave1
2010 Apr 14
2
Import ASCII data using a .sas program
...igure out a smart way of converting the data to R. The ASCII data is a long stream of numbers (no field separators or delimiters) while the SAS import file looks like: libname mine 'c:\'; data mine.fh4; infile 'd:\fh4.txt' lrecl=2309; input perstat1 $1-2 linenum $3-4 I_wave1 $5-5 bnocost1 $6-10 bnosta1 $11-12 So SAS uses the position of the ASCII character to determine what variable the data should be in while the SCAN or the READ. FWF function of R uses the width of the column. Does anyway have a smart and/or automated way of moving my ASCII data into R u...