View source: R/gadgetlikelihood.R
gadget_update.gadgetlikelihood | R Documentation |
Replace and/or append new likelihood comonents to an existing file
## S3 method for class 'gadgetlikelihood' gadget_update(gf, component, ...)
gf |
The gadgetfile object to update |
component |
Either a replacement |
... |
If a component type was provided above, the extra options to supply to |
## Not run: library(magrittr) # import %>% function path <- './model' gadgetlikelihood('likelihood', path, missingOkay = TRUE) %>% # Add an understocking component gadget_update(gadget_understocking_component(name = 'understocking')) %>% gadget_update('understocking', name = 'understocking') %>% # Identical to above write.gadget.file(path) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.