我想在data.frame中识别二进制列.
例如,这个表
my.table <-read.table(text="a,b,c 0,2,0 0.25,1,1 1,0,0", header=TRUE, as.is=TRUE,sep = ",")
会给 FALSE, FALSE, TRUE
FALSE, FALSE, TRUE
r
r ×1