editParms: Edit 'parms', 'init' or 'times' Slot of 'simecol' Objects

Description Usage Arguments See Also Examples

Description

The functions invoke an editor dialog for parameters, initial values or time steps of simObj objects and then assign the new (edited) version of x in the user's workspace. A Tcl/Tk version or spreadsheet editor is displayed if possible, depending on the structure of the respective slot.

Usage

1
2
3

Arguments

x

A valid instance of the simObj class.

See Also

sEdit, simObj, parms, times, init, edit

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
require("tcltk")
data(lv)        # load basic Lotka-Volterra model
lv <- editParms(lv)
plot(sim(lv))

data(conway)    # Conway's game of life
init(conway) <- matrix(0, 10, 10)
conway <- editInit(conway) # enter some "1"
sim(conway, animate = TRUE, delay = 100)

## End(Not run)

simecol documentation built on July 16, 2019, 3:01 a.m.