R: A 'split()' method for 'network::network' objects.

split.network {tergm} | R Documentation

## A `split()` method for `network::network` objects.

### Description

Split a network into subnetworks on a factor.

### Usage

    ## S3 method for class 'network'
    split(x, f, drop = FALSE, sep = ".", lex.order = FALSE, ...)

### Arguments

`x` | a `network::network` object.
`f, drop, sep, lex.order` | see `split()`; note that `f` must have length equal to `network.size(x)`.
`...` | additional arguments, currently unused.

### Value

A `network.list` containing the networks. These networks will inherit all vertex and edge attributes, as well as relevant network attributes.

### See Also

`network::get.inducedSubgraph()`

[Package tergm version 4.0.2 Index]