Learn R Programming

sjSDM (version 1.0.6)

setWeights: Set weights

Description

set layer weights and sigma in sjSDM with DNN object

Usage

setWeights(object, weights)

# S3 method for sjSDM setWeights(object, weights = NULL)

Value

No return value, weights are changed in place.

Arguments

object

object of class sjSDM with DNN object

weights

list of layer weights: list(env=list(matrix(...)), spatial=list(matrix(...)), sigma=matrix(...)), see getWeights