is.observed | R Documentation |
is.observed()
checks whether a node belongs to the evidence set or not.
is.observed(node, evi)
node |
A |
evi |
A |
This function returns TRUE if "node" is included in "evi", or, otherwise, FALSE.
## Data frame of the evidence set obs <- data.frame(lip = "1", alm2 = 0.5, stringsAsFactors=FALSE) ## Check if x is in obs is.observed("x", obs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.