Learn R Programming

networkDynamic (version 0.10.1)

as.networkDynamic: 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 networkDynamic
as.networkDynamic(object,...)

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

Arguments

object

a network or networkDynamic object

ignored

Value

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

Details

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

See Also

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

Examples

Run this code
# NOT RUN {
 nd<-as.networkDynamic(network.initialize(3))
 class(nd)
 is.networkDynamic(nd)
# }

Run the code above in your browser using DataLab