Skip to contents

Simple container class to enable the use of multiple link components in a joint model. Note that the constructor of this object is idempotent e.g. Link(Link(x)) == Link(x)

Usage

Link(...)

Arguments

...

(LinkComponent or PromiseLinkComponent)
an arbitrary number of link components.

Slots

components

(list)
a list of LinkComponent or PromiseLinkComponent objects.

resolved

(logical)
indicates if all the components have been resolved.

See also

Examples

Link(
    linkDSLD(),
    linkTTG()
)
#> 
#> Link with the following components/parameters:
#>     link_dsld ~ normal(mu = 0, sigma = 2)
#>     link_ttg ~ normal(mu = 0, sigma = 2)