printConditional {MoTBFs} | R Documentation |
Prints Conditional Functions
Description
Prints the result of an MoTBF conditional function of two variables, i.e. a parent and his child.
Usage
printConditional(conditionalFunction)
Arguments
conditionalFunction |
the output of the function |
Value
The results of the conditional function are shown.
See Also
Examples
## Data
X <- rexp(500)
Y <- rnorm(500, mean=X)
data <- data.frame(X=X,Y=Y)
cov(data)
## Conditional Learning
parent <- "X"
child <- "Y"
intervals <- 5
potential <- "MOP"
P <- conditionalMethod(data, nameParents=parent, nameChild=child,
numIntervals=intervals, POTENTIAL_TYPE=potential)
printConditional(P)
[Package MoTBFs version 1.2 Index]