Re: [R] grouping data by a portion of the row name

2007-09-13 Thread Peter Dalgaard
Bricklemyer, Ross S wrote: > I am attempting to write a routine where I can run PAM (partition around > mediods) on a dataset containing multiple soil cores and PCA spectral data > from several depths per core. I want to run PAM on each individual core, so > I need to group the data by core to

[R] grouping data by a portion of the row name

2007-09-13 Thread Bricklemyer, Ross S
I am attempting to write a routine where I can run PAM (partition around mediods) on a dataset containing multiple soil cores and PCA spectral data from several depths per core. I want to run PAM on each individual core, so I need to group the data by core to run the analysis. Below is an exam