Description Usage Arguments Details Value See Also Examples

Subset an object of class `"asterdata"`

,
for which see `asterdata`

.

1 2 |

`x` |
an object of class |

`subset` |
a logical vector indicating nodes of the graph to keep: missing values are taken as false. |

`successors` |
a logical scalar indicating whether the subgraph must be a union of connected components of the original graph, that is, if all successors of nodes in the subset must also be in the subset. |

`...` |
further arguments, which are ignored (this argument is required
for methods of the generic function |

Argument `subset`

is a logical vector of the same length as the number
of nodes in the graph specified by argument `x`

. It indicates the
subset of nodes in the subgraph wanted. The subgraph must be closed with
respect to predecessors (all predecessors of nodes in the subset are also
in the subset) and if `successors = TRUE`

with respect
to successors (all successors of nodes in the subset are also in the subset).
And similarly for dependence groups: each dependence
group in the original graph must have all or none of its elements
in the subgraph.

an object of class `"asterdata"`

that represents the aster model having
subgraph with nodes specified by `subset`

.

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.