Learn R Programming

networkLite (version 1.1.0)

as.networkLite: Convert to networkLite Representation.

Description

Convert to networkLite Representation.

Usage

as.networkLite(x, ...)

# S3 method for network as.networkLite(x, ..., atomize = TRUE)

# S3 method for networkLite as.networkLite(x, ...)

Value

A corresponding networkLite object.

Arguments

x

A network or networkLite object.

...

additional arguments

atomize

Logical; should we call atomize on the networkLite before returning it?

Details

as.networkLite.network converts a network object to a networkLite object. as.networkLite.networkLite returns the networkLite object unchanged.

Currently the network attributes hyper, multiple, and loops must be FALSE for networkLites; attempting to convert a network to a networkLite when this is not the case will result in an error.

The ... are passed to atomize and can be used to set the upcast argument controlling attribute conversion.

See Also

to_network_networkLite