Description Usage Arguments Value Author(s)
Use simple linear regression to find the initial value of betas in free approach, where beta are the effects/coefficients for the count model.
1 | regression(y, x)
|
y |
The response vector. |
x |
The design matrix (n by p, p is the number of covariates) for the count model (e.g., beta-binomial), and intercept is included. |
betahat |
Initial values for beta estimation matrix (p by m, p is the number of involved covariates and m is the number of OTUs). |
se |
Standard errors for the estimated betas. |
Tao Hu, Yihui Zhou
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.