as.networkLite {networkLite}R Documentation

Convert to networkLite Representation.

Description

Convert to networkLite Representation.

Usage

as.networkLite(x, ...)

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

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

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.

Value

A corresponding networkLite object.

See Also

to_network_networkLite


[Package networkLite version 1.0.5 Index]