search for: main_condition

Displaying 1 result from an estimated 1 matches for "main_condition".

2010 Mar 03
1
Subset using partial values
Hi everyone, I would like to subset a data.frame using partial values. For example I have the following data.frame: PROCHI Main_condition 1234 411 1235 4110 1236 4111 1237 I20 1238 I201 1239 I202 Now let's say that I use the Subset function. Ordinarily I would use it as follows Subset(x, Main_condition=="411"|Main_condition=="4110" etc to get all the 411s. Is there a way that you can...