hurdle_impute: Combine two models into a hurdle model

View source: R/hurdle_impute.R

hurdle_imputeR Documentation

Combine two models into a hurdle model

Description

Multiplies the imputed values for the presence model with those of the count model. Please make sure that the order of the observations in both models is identical. The resulting object will contain the union of the covariates of both models. Variables with the same name and different values get a presence_ or count_ prefix.

Usage

hurdle_impute(presence, count)

Arguments

presence

the rawImputed object for the presence.

count

the rawImputed object for counts.


inbo/multimput documentation built on Sept. 17, 2023, 4:35 a.m.