Description Usage Arguments Value Author(s) See Also Examples
This function inspects the classes of each part of a HPD
as a
means of verifying its integrity. A few other characteristics are checked
as well.
1 |
HPD |
An object of S3 class |
confirm |
Logical; if |
A logical value; TRUE
is there is a problem, otherwise
FALSE
.
Bryan A. Hanson, DePauw University. hanson@depauw.edu
sumHPD
which allows inspection (checking) of many
properties of your HPD
.
1 2 3 4 5 6 7 8 9 | test4 <- ranHiveData(nx = 4)
good <- chkHPD(test4, confirm = TRUE)
# mess it up and do again
# next test is not run as it halts execution
## Not run:
test4$nodes$color <- as.factor(test4$nodes$color)
bad <- chkHPD(test4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.