h.printCoefmat: Modifications of printCoefmat function for HTML output

Description Usage Arguments Value Author(s) See Also

Description

Writes the printCoefmat Cf array into an HTML table and formats the p-value legend for HTML.

Usage

1
h.printCoefmat(x, digits = max(3, getOption("digits") - 2), signif.stars = getOption("show.signif.stars"), signif.legend = signif.stars, dig.tst = max(1, min(5, digits - 1)), cs.ind = 1:k, tst.ind = k + 1, zap.ind = integer(0), P.values = NULL, has.Pvalue = nc >= 4 && substr(colnames(x)[nc], 1, 3) == "Pr(", eps.Pvalue = .Machine$double.eps, na.print = "NA", ...)

Arguments

x

a numeric matrix like object, to be printed.

digits

minimum number of significant digits to be used for most numbers.

signif.stars

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 TRUE and x 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.

eps.Pvalue

number,..

na.print

a character string to code NA values in printed output.

...

further arguments for print.

Value

Returns a character vector of HTML-formatted text. This vector consists of the code to render an HTML table of the Cf coefficients array and, if signif.starts and signif.legend are both true, it also includes the code for a legend describing the p-value symbols.

Author(s)

Bill Altermatt

See Also

h.df


DeducerRichOutput documentation built on May 2, 2019, 4:53 p.m.