get_X_density: Get density of treatments

get_X_densityR Documentation

Get density of treatments

Description

Get density of treatments

Usage

get_X_density(dat, eta, phi, qden, family, link, par2, log = FALSE)

Arguments

dat

data frame of variables to change conditional distribution of

eta

list (or matrix) of linear forms

phi

vector of dispersion coefficients

qden

functions for densities used to simulate variables

family

vector of distribution families

link

link functions for GLMs

par2

vector of degrees of freedom

log

logical: should log-density be returned?

Value

a numeric vector of weights


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