Learn R Programming

ANN2 (version 1.2)

plotStepFunction: Plot the step function used in replicator

Description

Change parameters to see how the shape of the step function is affected. Note that setting smoothSteps very high results in a large deriative, this might cause instability during training.

Usage

plotStepFunction(nSteps = 10, smoothSteps = 100, derivative = FALSE, ...)

Arguments

nSteps

number of steps on interval (0, 1)

smoothSteps

smoothing parameter. Small values results in high smoothness.

derivative

logical indicating if the derivative of the step function should be plotted.

...

further arguments to be passed to plot