The main provoc() function would still work as intended, but would accept list arguments to many of the parameters. The computations would be moved to another function that is easy to call from provoc(). All of the pre-computations would be the same for the lists of arguments, so this would be more efficient.
Some ideas:
The main
provoc()function would still work as intended, but would accept list arguments to many of the parameters. The computations would be moved to another function that is easy to call fromprovoc(). All of the pre-computations would be the same for the lists of arguments, so this would be more efficient.Some ideas:
method = c("provoc", "freyja", "alcov")would fit the same data/mutations with all three methods.lineages = list(c("B.1.1.7", "B.1.617.2"), c("B,1,1,7", "B.617.2", "AY.4")would fit the model with each set of lineages (using the samemutation_defsmatrix).