| compute_ZIPLN_starting_point | R Documentation |
Fast LM-based starting point for ZIPLN: one multivariate lm.fit for the PLN
component and empirical zero rates / binomial GLMs for the ZI component.
Replaces the previous per-species pscl::zeroinfl loop.
compute_ZIPLN_starting_point(Y, X, X0, O, w = NULL)
Y |
Response count matrix (n × p) |
X |
Design matrix for the PLN component (n × d) |
X0 |
Design matrix for the ZI component (n × d0, empty |
O |
Offset matrix in log-scale (n × p) |
w |
Weight vector of length n (defaults to uniform weights) |
Named list: B (d × p), M (n × p), S2 (n × p), R (n × p), B0 (d0 × p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.