powered by
Add relationship(s) to an xpose_set
add_relationship(xpdb_s, ..., .warn = TRUE, .remove = FALSE)remove_relationship(xpdb_s, ...)
remove_relationship(xpdb_s, ...)
An xpose_set object with relationships added
xpose_set
<xpose_set> An xpose_set object
<dynamic-dots> One or more formulas that define relationships between models. One list of formulas can also be used, but a warning is generated.
dynamic-dots
<logical> Should warnings be generated for non-formula inputs? (default: TRUE)
logical
TRUE
<logical> Should listed relationships be removed? (default: FALSE)
FALSE
xpdb_set %>% add_relationship(mod1~fix2) # ouroboros xpdb_set %>% remove_relationship(fix1~mod2) # split down the middle
Run the code above in your browser using DataLab