model <- data.frame(x=1:26, y=letters, z=factor(letters),
stringsAsFactors=FALSE)
comparison <- data.frame(a=1:26, b=letters, c=factor(letters),
stringsAsFactors=FALSE)
compareIgnoreNames(model, comparison)
Run the code above in your browser using DataLab