set_module_weights {SeqNet}R Documentation

Internal function to set the connection weights for a module

Description

Internal function to set the connection weights for a module

Usage

set_module_weights(module, weights)

Arguments

module

The 'network_module' object to modify.

weights

A vector or matrix of weights for each connetions. If a vector, its length must equal the number of connections in the module. If a matrix, it should be square with the number of columns equal to the number of nodes in the module; only the entries in the lower triangle that correspond to connections in the module will be used.

Value

The modified 'network_module' object.


[Package SeqNet version 1.1.3 Index]