parse_nplcm_reg: parse regression components (either false positive rate or...

View source: R/utils.R

parse_nplcm_regR Documentation

parse regression components (either false positive rate or etiology regression) for fitting npLCM; Only use this when formula is not NULL.

Description

parse regression components (either false positive rate or etiology regression) for fitting npLCM; Only use this when formula is not NULL.

Usage

parse_nplcm_reg(form, data_nplcm, silent = TRUE)

Arguments

form

regression formula

data_nplcm

data object for nplcm(); may contain covariates X; must have case-control status Y.

silent

Default is TRUE for no message about covariates; FALSE otherwise.

Value

TRUE for doing regression; FALSE otherwise.


zhenkewu/baker documentation built on March 17, 2022, 9:54 p.m.