Last chance! 50% off unlimited learning
Sale ends in
simObj
objects and then assign the
new (edited) version of x
in the user's workspace. A fixParms(x)
fixTimes(x)
fixInit(x)
simObj
class.sEdit
, simObj
,
parms
, times
, init
,
fix
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)
Run the code above in your browser using DataLab