id: Specify identifier variables for multiple-membership and hierarchical structures
Description
Helper function used within mm and hm to specify
the identifier variables that define memberships and nesting structures. In
multiple-membership models, id() links member-level units (e.g., party
IDs) to group-level units (e.g., government IDs). In hierarchical models,
id() specifies the nesting-level identifier (e.g., country ID).
Usage
id(...)
Value
A bml_id object containing the variable names as character strings.
Arguments
...
Unquoted variable names from your data:
For mm(): Two identifiers id(mmid, mainid) where
mmid identifies member-level units and mainid identifies
group-level units
For hm(): One identifier id(hmid) where hmid
identifies nesting-level units