code
structure(list(ID = c(6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L, 6L), TSFD = 0:8,
C3H = c(0L, 0L, 1L, 1L, 1L, 0L, 1L, 1L, 0L), OBS = 46:54), .Names = c("ID",
"TSFD", "C3H", "OBS"), row.names = 46:54, class = "data.frame")
/code
how to add another variable IND which is 0,0,1,1,1,0,2,2,0? Thanks.