Cambiar valores en la columna, marco de datos
data$cens.type <- NA #crate column with NAs
data$cens.type[data$type=="exact"] <- 1
#put 1 for every "exact" in column type
Diana H