Learn R Programming

RSNNS (version 0.3-1)

SnnsRObject$setUnitDefaults: Set the unit defaults.

Description

Set the unit defaults.

Usage

## S3 method for class 'SnnsR':
setUnitDefaults(act, bias, st, subnet_no, layer_no, act_func, out_func)

Arguments

act
same as SNNS kernel function
bias
idem
st
idem
subnet_no
idem
layer_no
idem
act_func
idem
out_func
idem

Details

This function masks the SNNS kernel function of the same name to allow both for giving the parameters directly or as a vector. If the second parameter, bias, is missing, it is assumed that the first parameter should be interpreted as a vector containing all parameters.