Learn R Programming

mpath (version 0.4-2.26)

conv2zipath: convert zeroinfl object to class zipath

Description

convert zeroinfl object to class zipath, which then can be used to predict new data

Usage

conv2zipath(object, family=c("poisson", "negbin", "geometric"))

Value

an object of class zipath

Arguments

object

an object of class zeroinfl

family

one of families in zeroinfl class

Author

Zhu Wang <zwang145@uthsc.edu>