printCoefmat {stats}

Print Coefficient Matrices

Package:

stats

Version:

R 3.0.2

Description

Utility function to be used in higher-level print methods, such as those for summary.lm, summary.glm and anova. The goal is to provide a flexible interface with smart defaults such that often, only x needs to be specified.

Arguments

logical; if TRUE, P-values are additionally encoded visually as ‘significance stars’ in order to help scanning of long coefficient tables. It defaults to the show.signif.stars slot of options.

signif.legend

logical; if TRUE, a legend for the ‘significance stars’ is printed provided signif.stars = TRUE.

dig.tst

minimum number of significant digits for the test statistics, see tst.ind.

cs.ind

indices (integer) of column numbers which are (like) coefficients and standard errors to be formatted together.

tst.ind

indices (integer) of column numbers for test statistics.

zap.ind

indices (integer) of column numbers which should be formatted by zapsmall, i.e., by ‘zapping’ values close to 0.

P.values

logical or NULL; if TRUE, the last column of x is formatted by format.pval as P values. If P.values = NULL, the default, it is set to TRUE only if options("show.coef.Pvalue") is TRUEandx has at least 4 columns and the last column name of x starts with "Pr(".

has.Pvalue

logical; if TRUE, the last column of x contains P values; in that case, it is printed if and only if P.values (above) is true.

Author(s)

Search Language Reference

Search this site:

About Language Reference

This is a collection of the help pages from every function and dataset in the latest version of R (base and recommended packages). Add your comments to the page to offer tips for using these functions, or expand on the documentation. Your comments are tagged with the current R version number, and will be preserved when these pages are updated with the next R release.

The URLs for these pages are stable, in the format:http://www.inside-r.org/r-doc/PACKAGE/FUNCTION

Feel free to link to them from other pages.

About inside-R.org

inside-R.org is a collection of resources about the open-source R Project for the R Statistics Community. This site is sponsored by Revolution Analytics.