Hi
Patrick Hausmann napsal dne 13.01.2009
18:18:38:
> Hi Petr,
>
> works perfect, thanks a lot!
>
> Perhaps you can take a look at this 'problem'? I want to get a
> new vector for which (x == 2 & y == 2 & z == 2) = TRUE
> (the real dataframe has 21 columns to check)
>
> o <- data.frame(x=c(
Hi
r-help-boun...@r-project.org napsal dne 13.01.2009 11:58:45:
> Dear list,
>
> as a result of a logical operation I want to assign
> a new variable to a DF with NA-values.
>
> z <- data.frame( x = c(5,6,5,NA,7,5,4,NA),
> y = c(1,2,2,2,2,2,2,2) )
>
> p <- (z$x <= 5) & (z$y
2 matches
Mail list logo