View source: R/summarize_glm_count.R
h_glm_count | R Documentation |
Helper functions that returns the results of stats::glm()
when Poisson or Quasi-Poisson
distributions are needed (see family
parameter), or MASS::glm.nb()
for Negative Binomial
distributions. Link function for the GLM is log
.
h_glm_count(.var, .df_row, variables, distribution, weights)
h_glm_poisson(.var, .df_row, variables, weights)
h_glm_quasipoisson(.var, .df_row, variables, weights)
h_glm_negbin(.var, .df_row, variables, weights)
.var |
( |
.df_row |
( |
variables |
(named
|
distribution |
( |
weights |
( |
h_glm_count()
returns the results of the selected model.
h_glm_poisson()
returns the results of a Poisson model.
h_glm_quasipoisson()
returns the results of a Quasi-Poisson model.
h_glm_negbin()
returns the results of a negative binomial model.
h_glm_count()
: Helper function to return the results of the
selected model (Poisson, Quasi-Poisson, negative binomial).
h_glm_poisson()
: Helper function to return results of a Poisson model.
h_glm_quasipoisson()
: Helper function to return results of a Quasi-Poisson model.
h_glm_negbin()
: Helper function to return results of a negative binomial model.
summarize_glm_count
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.