parse_nplcm_reg {baker}R 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.


[Package baker version 1.0.3 Index]