select_matrix | R Documentation |
SimInf_model
objectUtility function to extract events@E
from a
SimInf_model
object, see SimInf_events
select_matrix(model)
## S4 method for signature 'SimInf_model'
select_matrix(model)
model |
The |
dgCMatrix
object.
## Create an SIR model
model <- SIR(u0 = data.frame(S = 99, I = 1, R = 0),
tspan = 1:5, beta = 0.16, gamma = 0.077)
## Extract the select matrix from the model
select_matrix(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.