quick.reg: ANOVA and ANODE tables in HTML

Description Usage Arguments Details Value Examples

View source: R/quick.reg.R

Description

Beautiful tables in HTML. Creates advanced ANOVA, ANODE, and MANOVA tables reporting relevant variable changes, treatment changes, and intercept diagnostics. Also can report factor contrasts within the table. For MANOVA tables, latent variable ANCOVAs can also be calculated within the MANOVA table. Normally only requires my.model and my.factor.

Usage

1
2
3
4
quick.reg(my.model, my.factor = NULL, show.contrasts = F,
  adjustment = "bonferroni", marginality = T, do.return = T,
  abbrev.length = ab.len, show.footer = T, SS.type = 2,
  myDF = my.found.df, type = my.reg.type, ...)

Arguments

my.model

Model to be tested. Currently supported are lm, glm, clm, manova.

my.factor

If there are any factors, list them here.

show.contrasts

If there are factors with df>1, show partial contrasts? (default = F). For lm and glm, this is done using Phia, for manova, it is calculated from SSCP matrices.

adjustment

Adjustment type to be performed on contrats. Uses p.adjust. (default = "bonferroni")

marginality

Should SS or deviance for the intercept be neglected? (default = T) If set to F, this is a diagnostic tool to see if the effects of the treatment are at least similar in magnitude to the effects of the intercepts.

do.return

Return the quick.table or just display it? (default=T)

abbrev.length

Abbreviation length for rownames. Default is 30 for clm, 15 otherwise.

show.footer

Show footer including missingness, method, and link and adjustment information if appropriate (default = T)

SS.type

Type of sums of squares (or deviance) to report. Currently, only type II is reported. (default = 2)

myDF

Backup in case can't figure out data frame.

type

Backup in case can't figure out type.

Details

This package combines summary, anova, and car::Anova to create ANOVA, ANODE, and MANOVA tables. On top of providing normal information about the current model, this package can show contrasts for multi-level factors. In addition to the current model, treatment changes from null provide basic fit diagnostics.

For models of class lm, a basic ANOVA table will be created with Type II sums of squares.

Value

Either quick.table or invisible()

Examples

1
quick.reg(wine.ord)

ckraner/quick.tasks documentation built on May 24, 2019, 5:02 a.m.