Takes a matrix.glm or bootglm object and reformats the results

# S3 method for matrix.glm
summary(object, sortby = "Variable")

Arguments

object

A matrix.glm or bootglm object.

sortby

A string indicating how to sort the coefficients. Either by "Vatiable" or "Taxon"

Value

Returns a summary.matrix.glm or summary.bootglm object which is a list containing the following elements:

coefficients

Coefficient table. For matrix.glm objects it includes standard errors, z-values and p-values. NOTE: Since only p-values from z-tests are provided at this point, they are only appropriate for binomial, poisson and negative.binomial models. For boot.glm objects in includes the 2.5 and the bootstrap confidence for each parameter (Pr(param > 0)).

call

Original matrix_glm() or bootstrap_glm() call