fixParms {simecol}R Documentation

Fix parms, init or times 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 when 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

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.3-11 Index]