[R] logical to vector?
murdoch.duncan at gmail.com
Wed Mar 7 17:26:12 CET 2012
On 07/03/2012 11:02 AM, Ed Siefker wrote:
> I am trying to use the coXpress function from
> the coXpress package. This function requires
> numerical vectors indicating which columns
> are in which group.
> The problem is, I can only figure out how
> to get a logical structure, not a numerical one.
> In other words, coXpress wants something like:
> I have something like:
> TRUE TRUE TRUE FALSE FALSE
> Can I convert one into the other easily?
More information about the R-help