setWeights: Set weights

View source: R/methods.R

setWeightsR Documentation

Set weights

Description

set layer weights and sigma in sjSDM with DNN object

Usage

setWeights(object, weights)

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

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

Value

No return value, weights are changed in place.


sjSDM documentation built on Sept. 11, 2024, 7:18 p.m.