XZ_to_form: Produce formula from X and Z

Description Usage Arguments Value

View source: R/count_model_utilities.R

Description

The function takes data.frames X and Z, and it produces a formula that could be used by other functions such as pscl::zeroinfl.

Usage

1
XZ_to_form(out_name, X, Z)

Arguments

out_name

outcome name

X

design matrix for count model, should be a data.frame

Z

design matrix for zero-inflation model, should be a data.frame

Value

A formula


daniel-conn17/scRNAzirf documentation built on Dec. 19, 2021, 8:05 p.m.