
Design matrices for a beezdemand_hurdle fit
Source:R/hurdle-methods.R
model.matrix.beezdemand_hurdle.RdHurdle currently has intercept-only Part I and Part II linear
predictors, so X_binary and X_consumption are each a single column
of ones with nobs(fit) rows. Returned for parity with
model.matrix.beezdemand_tmb(). Future support for factor / covariate
effects on hurdle components will enrich these matrices without
changing the API.
Usage
# S3 method for class 'beezdemand_hurdle'
model.matrix(object, what = NULL, ...)