+.twig_class | R Documentation |
+
operator for twig
objectsAdds layers to the twig object. If a states layer is added, the twig object is treated as a Markov model.
## S3 method for class 'twig_class'
twig_obj + layer
twig_obj |
A twig object created by the |
layer |
A layer to be added to the twig object. |
This method allows layers to be added to a twig object using the +
operator.
The modified twig object with the new layer added.
twig_obj <- twig() +
decisions(names = c(StandardOfCare, StrategyA, StrategyB, StrategyAB))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.