| fciAlgo-class | R Documentation |
This class of objects is returned by functions
fci(), rfci(), fciPlus, and
dag2pag and represent the estimated PAG (and sometimes
properties of the algorithm).
Objects of this class have methods for the functions
plot, show and summary.
## S4 method for signature 'fciAlgo'
show(object)
## S3 method for class 'fciAlgo'
print(x, amat = FALSE, zero.print = ".", ...)
## S4 method for signature 'fciAlgo'
summary(object, amat = TRUE, zero.print = ".", ...)
## S4 method for signature 'fciAlgo,ANY'
plot(x, y, main = NULL, ...)
x, object |
a |
amat |
|
zero.print |
string for printing |
y |
(generic |
main |
main title, not yet supported. |
... |
optional further arguments (passed from and to methods). |
The slots call, n, max.ord, n.edgetests,
sepset, and pMax are inherited from class
"gAlgo", see there.
In addition, "fciAlgo" has slots
amat:adjacency matrix; for the coding of the adjacency matrix see amatType
allPdsepa list: the ith entry of
this list contains Possible D-SEP of node number i.
n.edgetestsPDSEPthe number of new conditional independence tests (i.e., tests that were not done in the first part of the algorithm) that were performed while checking subsets of Possible D-SEP.
max.ordPDSEPan integer: the maximum
size of the conditioning sets used in the new conditional independence
that were performed when checking subsets of Possible D-SEP.
Class "gAlgo".
signature(x = "fciAlgo"): Plot the resulting graph
signature(object = "fciAlgo"): Show basic properties of
the fitted object
signature(object = "fciAlgo"): Show details of
the fitted object
Markus Kalisch and Martin Maechler
fci, fciPlus, etc (see above);
pcAlgo
## look at slots of the class
showClass("fciAlgo")
## Also look at the extensive examples in ?fci , ?fciPlus, etc !
## Not run:
## Suppose, fciObj is an object of class fciAlgo
## access slots by using the @ symbol
fciObj@amat ## adjacency matrix
fciObj@sepset ## separation sets
## use show, summary and plot method
fciObj ## same as show(fciObj)
show(fciObj)
summary(fciObj)
plot(fciObj)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.