[R] Descriptive Stats from Data Frame
Rich Shepard
rshepard at appl-ecosys.com
Tue Aug 30 23:38:23 CEST 2011
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
More information about the R-help
mailing list