logitCoefFn: Weighted logistic regression coefficient function

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Runs a specified weighted logistic regression and returns the coefficient of interest

Usage

1
logitCoefFn(data, w, form, coef)

Arguments

data

Dataset

w

Weights to use in the regression

form

Formula of desired regression model

coef

Coefficient of interest

Value

Weighted coefficient for specified coefficient

Examples

1
## Not run: coefFn(dat, w = w, form = as.formula(Y ~ X), coef = 'X')

schwenzfeier/udp documentation built on April 1, 2021, 3:39 a.m.