posum.options {posum} | R Documentation |
Allows setting of some coefficients in posum
.
posum.options(con.mesh=40,fdi=0.01,n.int=10,m.dint=3)
con.mesh |
the non-negativity constraints will be applied on a
con.mesh by con.mesh mesh over the age time plane. |
fdi |
determines the finite difference interval to use when applying
constraints or calcualting death rates. Typically an output time/age step is
determined and the finite difference interval set to fdi multiplied
by this. For example when creating constraints the smaller of the age and time
interval of the constraint mesh is taken and multiplied by fdi to get
the finite difference interval to use for death rate calcualtions. |
n.int |
How many mesh points to use per stage when integrating under the population surface to set up the model matrix. |
m.dint |
This is a multiplier used to find the integration timestep to use when integrating under the death rate surface. The time step is obtained by dividing the maximum age seen in the data by m.dint*d.int*ns, where ns is the number of stages being modelled. This interval is used as the target timestep, although the actual timestep is chosen so that a whole number of intervals is used for the integration. |
A named list of the input arguments.
Simon N. Wood snw@st-and.ac.uk
http://www.ruwpa.st-and.ac.uk/simon.html