get_preds: Produce predictions for Poisson model

Description Usage Arguments Value

View source: R/count_model_utilities.R

Description

Takes two design matrices and coefficients and produces predicted values.

Usage

1
get_preds(beta, xi, X, Z, type = "count", add_intercept = T)

Arguments

beta

Count model coefficients

xi

Zero-inflation model coefficients

X

Count model design matrix

Z

Zero-inflation model design matrix

type

Type of prediction to return

add_intercept

Should intercept be added to X and Z

Value

A vector of predictions


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