[R] Recoding a multiple response question into a series of 1, 0 variables

Jonathan Baron baron at psych.upenn.edu
Tue Jun 8 04:47:26 CEST 2004


On 06/07/04 22:45, Jonathan Baron should have written:
>for (i in [whatever]) Y[i,][X[i,]] <- 1




More information about the R-help mailing list