R: as.networkDynamic

as.networkDynamic {networkDynamic} | R Documentation

## as.networkDynamic

### Description

Functions with these names formerly provided S3-dispatched functions for converting between various dynamic network formats which have been DEPRECATED. Use `networkDynamic` instead. Current application only sets the networkDynamic class on objects.

### Usage

    ## S3 method for class 'networkDynamic'
    as.networkDynamic(object,...)

    ## S3 method for class 'network'
    as.networkDynamic(object,...)

### Arguments

`object` | a `network` or `networkDynamic` object
`...` | ignored

### Details

`as.networkDynamic.network` converts a network object into networkDynamic object by adding a `networkDynamic` class.

### Value

For `as.networkDynamic.network` the input object is returned with a `networkDynamic` class added. For `as.networkDynamic.networkDynamic` the input object is returned.

### Note

Function modifies its argument

### Author(s)

Pavel, Zack W Almquist <almquist@uci.edu>

### See Also

For previous functionality, see `networkDynamic`. For the inverse (removing networkDynamic class) see `as.network.networkDynamic`.

### Examples

     nd<-as.networkDynamic(network.initialize(3))
     class(nd)
     is.networkDynamic(nd)

[Package networkDynamic version 0.9.0 Index]