cro(dat, response=1)
y
to covar
, connecting each
response with its covariate vector.paste
and compared with match
.match
, paste
dat <- data.frame(y = c(1.1, 2.3, 0.7), x1 = c(1, 0, 1), x2 = c(0, 1, 0))
cro(dat)
Run the code above in your browser using DataLab