# NOT RUN {
attach(autism)
sicdegp.f <- factor(sicdegp)
age.f <- factor(age)
detach(autism)
# Add the new variables to a new data frame object.
autism.updated <- data.frame(autism, sicdegp.f, age.f)
dim(autism.updated)
names(autism.updated)
# }
Run the code above in your browser using DataLab