modelNames <- c("id", "age",
"edu", "class",
"IndianMothers")
compareFile(system.file("example", "student1.R", package="compare"),
modelNames,
system.file("example", "model.R", package="compare"))
Run the code above in your browser using DataLab