summary.matrix.glm: Summarize matrix GLM results

View source: R/matrix_glm.r

summary.matrix.glmR Documentation

Summarize matrix GLM results

Description

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

Usage

## S3 method for class '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

Author(s)

Sur Herrera Paredes


surh/AMOR documentation built on Feb. 21, 2023, 6:31 a.m.