Description Usage Arguments Value
In the context of checking the consistency of a solution, ensures the content are similar.
1 2 | assert.equal(v1, v2, msg, verbose = FALSE, indent = 3,
tolerance = 1.5e-08)
|
v1 |
a scalar, vector, matrix or data frame |
v2 |
a scalar, vector, matrix or data frame |
msg |
the message to display in case of failure |
verbose |
if TRUE, assertion errors will be displayed in the console |
indent |
the indentation (count of tabs) for verbose display |
tolerance |
the numeric tolerance to define two numeric are equal |
1 in case of error else 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.