Learn R Programming

ecr (version 1.0)

registerAction: Register an action.

Description

Register an action for a specific event in the EA circle. See getAvailableEventNames for a list of available event names.

Usage

registerAction(control, event.name, fun)

Arguments

control
[ecr_control] Control object.
event.name
[character(1)] Name of the event.
fun
[function()] Function with arguments opt.state and ....

Value

[ecr_control] Updated control object.

See Also

getAvailableEventNames