link_setup: Set up link functions

View source: R/links.R

link_setupR Documentation

Description

Set up link functions

Usage

link_setup(
  link,
  family,
  vars,
  sources = links_list,
  fam_list = list(family_vals)
)

Arguments

link

input given to msm_samp() or causalSamp()

family

the list of families for Z,X and Y variables

vars

a list of vectors of variable names with the same structure as family

sources

list of links for parametric families

fam_list

list of data frames in the same format as family_vals


rje42/causl documentation built on June 1, 2025, 2:50 p.m.