On Tue, 30 Aug 2011, David Winsemius wrote:

I think you need to go back and do your input operations again with
sep="|"

David,

  Yes, that's better. I did not know of the sep option. The new results:

str(chemdata)
'data.frame':   14886 obs. of  4 variables:
 $ site_id    : Factor w/ 148 levels "BC-0.5","BC-1",..: 104 145 126 115 114
128 124 2 3 3 ...
 $ sample_date: Factor w/ 1012 levels "1980-03-01","1980-05-01",..: 432 410
423 405 398 408 401 360 366 407 ...
 $ param      : Factor w/ 8 levels "Arsenic","Calcium",..: 1 1 1 1 1 1 1 1 1
1 ...
 $ quant      : num  0.06 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 ...

  Now I can work on the commands I need.

Many thanks,

Rich

______________________________________________
R-help@r-project.org 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.

Reply via email to