printConditional | R Documentation |
Print the description of an MoTBF demnsity for one variable conditional on another variable.
printConditional(conditionalFunction)
conditionalFunction |
the output of the function |
The results of the conditional function are shown.
conditionalMethod
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.