Learn R Programming

pcalg (version 2.4-3)

fciAlgo-class: Class "fciAlgo" of FCI Algorithm Results

Description

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.

Usage

"show"(object) "print"(x, amat = FALSE, zero.print = ".", ...)
"summary"(object, amat = TRUE, zero.print = ".", ...) "plot"(x, y, main = NULL, ...)

Arguments

x, object
a "fciAlgo" object.
amat
logical indicating if the adjacency matrix should be shown (printed) as well.
zero.print
string for printing 0 (‘zero’) entries in the adjacency matrix.
y
(generic plot() argument; unused).
main
main title, not yet supported.
...
optional further arguments (passed from and to methods).

Slots

The slots call, n, max.ord, n.edgetests, sepset, and pMax are inherited from class "gAlgo", see there. In addition, "fciAlgo" has slots

Extends

Class "gAlgo".

Methods

See Also

fci, fciPlus, etc (see above); pcAlgo

Examples

Run this code
## 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)

Run the code above in your browser using DataLab