[R] logical vector as a matrix
Grześ
gregorio99 at gmail.com
Sat May 30 21:45:44 CEST 2009
Thanks a lot! :)
Grześ wrote:
>
> I have a vector like this:
> h <- c(4, 6, NA, 12)
> and I create the secound logical vector like this:
> g <- c(TRUE, TRUE, FALSE, TRUE)
>
> And my problem is that I would like to get a new "m" vector as a rasult
> "h" and "g"( as dot-matrix printer) but with missed "NA" value, for
> example:
>
> m = (4,6,12)
> Do you have any idea?
>
>
>
>
--
View this message in context: http://www.nabble.com/logical-vector-as-a--matrix-tp23785253p23796738.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list