Displaying 1 result from an estimated 1 matches for "subdsetting".
2011 Oct 04
3
How to subset() from data frame using specific rows
...a","Cl",..: 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 ...
I've looked in the R Cookbook and Dalgaard's intro book without finding a
way to use wildcards (e.g., like "BC-*") or explicitly witing each site ID
when subdsetting a data frame..
I need to create subsets (as data frames) based on sites, but including
all sites on each stream. For example, using the initial site factor shown
above, I want a subset containing all data for sites "BC-0.5", "BC-1".
"BC-2", "BC-3", "...