| pdmp-accessors | R Documentation |
Get or set the slot values for an object of class pdmpModel.
In most cases, setting a new value also affects the slot out
(where the simulation result can be stored). This applies to slots
times, parms, init, dynfunc, ratefunc,
jumpfunc, discStates and initfunc, which set out to
NULL. Setting a new value for descr will not affect
the slot out.
out(obj, value)
out(obj) <- value
dynfunc(obj)
dynfunc(obj) <- value
ratefunc(obj)
ratefunc(obj) <- value
jumpfunc(obj)
jumpfunc(obj) <- value
descr(obj)
descr(obj) <- value
discStates(obj)
discStates(obj) <- value
parms(obj, value)
parms(obj) <- value
init(obj, value)
init(obj) <- value
solver(obj, value)
solver(obj) <- value
times(obj, value)
times(obj) <- value
initfunc(obj, value)
initfunc(obj) <- value
## S4 method for signature 'pdmpModel'
out(obj)
## S4 method for signature 'pdmpModel'
dynfunc(obj)
## S4 method for signature 'pdmpModel'
ratefunc(obj)
## S4 method for signature 'pdmpModel'
jumpfunc(obj)
## S4 method for signature 'pdmpModel'
descr(obj)
## S4 method for signature 'pdmpModel'
discStates(obj)
## S4 method for signature 'pdmpModel'
parms(obj)
## S4 method for signature 'pdmpModel'
init(obj)
## S4 method for signature 'pdmpModel'
solver(obj)
## S4 method for signature 'pdmpModel'
times(obj)
## S4 method for signature 'pdmpModel'
initfunc(obj)
## S4 replacement method for signature 'pdmpModel'
out(obj) <- value
## S4 replacement method for signature 'pdmpModel'
dynfunc(obj) <- value
## S4 replacement method for signature 'pdmpModel'
ratefunc(obj) <- value
## S4 replacement method for signature 'pdmpModel'
jumpfunc(obj) <- value
## S4 replacement method for signature 'pdmpModel'
discStates(obj) <- value
## S4 replacement method for signature 'pdmpModel'
parms(obj) <- value
## S4 replacement method for signature 'pdmpModel'
init(obj) <- value
## S4 replacement method for signature 'pdmpModel'
solver(obj) <- value
## S4 replacement method for signature 'pdmpModel'
times(obj) <- value
## S4 replacement method for signature 'pdmpModel'
initfunc(obj) <- value
## S4 replacement method for signature 'pdmpModel'
descr(obj) <- value
borroot(obj) <- value
terroot(obj) <- value
obj |
an object of class |
value |
the value that shall be set |
It is also possible to modify the slots directly,
e.g. the parameters of a model pdmp with pdmp@parms,
but this is normally not recommended as there is no guarantee that this
will work in a compatible way in future versions.
Class definition pdmpModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.