Add relationship(s) to an xpose_set
Arguments
- xpdb_s
<
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.- .warn
<
logical
> Should warnings be generated for non-formula inputs? (default:TRUE
)- .remove
<
logical
> Should listed relationships be removed? (default:FALSE
)
Examples
xpdb_set %>%
add_relationship(mod1~fix2) # ouroboros
#>
#> ── xpose_set object ────────────────────────────────────────────────────────────
#> • Number of models: 4
#> • Model labels: mod1, mod2, fix1, and fix2
#> • Number of relationships: 4
#> • Focused xpdb objects: none
#> • Exposed properties: none
#> • Base model: none
xpdb_set %>%
remove_relationship(fix1~mod2) # split down the middle
#>
#> ── xpose_set object ────────────────────────────────────────────────────────────
#> • Number of models: 4
#> • Model labels: mod1, mod2, fix1, and fix2
#> • Number of relationships: 2
#> • Focused xpdb objects: none
#> • Exposed properties: none
#> • Base model: none