pdmp-accessors: Accessor functions for Class pdmpModel

Description Usage Arguments Details See Also

Description

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.

Usage

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
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

Arguments

obj

an object of class pdmpModel

value

the value that shall be set

Details

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.

See Also

Class definition pdmpModel


CharlotteJana/pdmpsim documentation built on July 2, 2019, 5:37 a.m.