Displaying 1 result from an estimated 1 matches for "nwaves".
Did you mean:
waves
2002 Apr 06
1
read.table and trouble
...ache. I'm admitting defeat. Can anybody help?
Object example3 has been read in using read.table. The statement works fine
in S-Plus.
When I run the same statement in R the column Prefix, which is read in using
the
as.character coercion, is wacky. It reads in as numeric.
> example3
nRows nWaves nYears Noise Amp Freq AmpTwo FreqTwo Prefix
1 1 1 1000 0.02 0.01 2 NA NA "test"
2 2 1 1000 0.02 0.02 2 NA NA "test2"
3 3 1 1000 0.02 0.03 2 NA NA NA
4 4 1 1000 0.02 0.04 2 NA...