# NOT RUN {
data(antworten)
# create some differences
antworten2 <- antworten[-3, -7]
antworten2[4,6] <- NA
antworten2[8,8:10] <- antworten2[8,8:10] + 1
# default comparison
compare(antworten, antworten2)
# compare only variables 1 to 12
compare(antworten, antworten2, select=c(1:12))
# omit variables 3 to 8 and create a new set called "antworten.comp"
# from the results
antworten.comp <- compare(antworten, antworten2, select=-c(3:8), new.set=TRUE)
# }
Run the code above in your browser using DataLab