cnParents: Network Parent Structure

Description Usage Arguments Value Author(s) See Also Examples

Description

Returns the list of parents of selected nodes of a catNetwork object. If which is not specified, the parents of all nodes are listed.

Usage

1
cnParents(object, which)

Arguments

object

a catNetwork object

which

a vector of node indices

Value

A list of named nodes.

Author(s)

N. Balov

See Also

cnMatParents, cnEdges

Examples

1
2
  cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2)
  cnParents(object=cnet)

sdnet documentation built on May 19, 2017, 10:58 a.m.

Search within the sdnet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.