Description Usage Arguments Value Author(s) See Also Examples
This function applies a commenting scheme to a set of comparisons to produce a set of comments.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.