Hi Kelly,
Check
?subset
in the R console. Here is a piece of code (untested):
subset(LOG, sample_data %in% c("Noy", "PLO"))
HTH,
Jorge.-
On Mon, May 28, 2012 at 3:16 PM, Kelly Cool <> wrote:
> I was wondering if there was a quick way to extract out certain rows from
> a data set in R?
> I
On Mon, May 28, 2012 at 3:16 PM, Kelly Cool wrote:
> I was wondering if there was a quick way to extract out certain rows from a
> data set in R?
> I have a data.frame, LOG, where in one column, sample_data_tx, there is a
> list of 62 different types of treatment. I've sub-selected the rows tha
I was wondering if there was a quick way to extract out certain rows from a
data set in R?
I have a data.frame, LOG, where in one column, sample_data_tx, there is a list
of 62 different types of treatment. I've sub-selected the rows that contain the
names, "PLO" and "NOY" to make a new vector
3 matches
Mail list logo