fixParms {simecol}R Documentation

Fix ‘parms’, ‘init’ or '‘imes’ Slot of ‘simecol’ Objects

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

  fixParms(x)
  fixTimes(x)
  fixInit(x)

Arguments

x A valid instance of the simObj class.

See Also

sEdit, simObj, parms, times, init, fix

Examples

## Not run: 
data(lv)        # load basic Lotka-Volterra model
fixParms(lv) 
plot(sim(lv))

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

[Package simecol version 0.6-6 Index]