Learn R Programming

RSNNS (version 0.4-14)

SnnsRObjectFactory: SnnsR object factory

Description

Object factory to create a new object of type SnnsR-class.

Usage

SnnsRObjectFactory(x = NULL)

Arguments

x

(optional) object of class SnnsR-class, to be deep-copied

Details

This function creates a new object of class SnnsR-class, initializes its only slot variables with a new environment, generates a new C++ object of class SnnsCLib, and an empty object serialization.

See Also

$, SnnsR-class

Examples

Run this code
mySnnsObject <- SnnsRObjectFactory()
mySnnsObject$setLearnFunc('Quickprop')
mySnnsObject$setUpdateFunc('Topological_Order') 

Run the code above in your browser using DataLab