View source: R/join_positions.R
join_positions | R Documentation |
join positions in a staged tree model
join_positions(model, var, s1, s2)
model |
an object of class |
var |
the name of a variable in the model. |
s1 |
stage to join |
s2 |
stage to join |
this functions works similarly to the join_stages
function in the stagedtrees
package, but it also joins
downstream stages to make nodes with stages s1,s2
in the same
position. This function works properly only when downstream variables
from var
have full stages vectors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.