dm_validate | R Documentation |
dm_validate()
checks the internal consistency of a dm
object.
dm_validate(x)
x |
An object. |
In theory, with the exception of new_dm()
, all dm
objects
created or modified by functions in this package should be valid,
and this function should not be needed.
Please file an issue if any dm operation creates an invalid object.
Returns the dm
, invisibly, after finishing all checks.
dm_validate(dm())
bad_dm <- structure(list(bad = "dm"), class = "dm")
try(dm_validate(bad_dm))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.