commentQuestions {compare} | R Documentation |
This function applies a commenting scheme to a set of comparisons to produce a set of comments.
commentQuestions(result, ...)
result |
A set of comparison results, as generated by the
|
... |
One or more commenting schemes, as generated by the
|
A matrix of comments.
Paul Murrell
questionComments
and
compareFiles
modelNames <- c("id", "age", "edu", "class", "IndianMothers") files <- list.files(system.file("example", package="compare"), pattern="^student[0-9]+[.]R$", full.names=TRUE) results <- compareFiles(files, modelNames, system.file("example", "model.R", package="compare"), allowAll=TRUE, resultNames=gsub(".+[/]|[.]R", "", files)) q1comments <- questionComments(c("id", "age", "edu", "class"), comments("class", transformComment("coerced", "'class' is a factor!"))) commentQuestions(results, q1comments)