setWeights {sjSDM}R 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.


[Package sjSDM version 1.0.5 Index]