This for example could work
df <- data.frame(x = seq(1:10), y = rep(c("a","b"),5))
df
df$x[df$y %in% "a"]
Scott
On Wednesday, May 4, 2011 at 4:01 AM, tornanddesperate wrote:
> Hi everybody
>
> I couldn't find the solution to what must be quite a simple problem. Maybe
> you can help?
>
> tre
Try subset().
Andrew
On Wed, May 04, 2011 at 02:01:44AM -0700, tornanddesperate wrote:
> Hi everybody
>
> I couldn't find the solution to what must be quite a simple problem. Maybe
> you can help?
>
>treatment session period stage wage_accepted market
> 1 11 1
Hi everybody
I couldn't find the solution to what must be quite a simple problem. Maybe
you can help?
treatment session period stage wage_accepted market
1 11 11 25 public
2 11 11 19
3 matches
Mail list logo