- G
A netCoin object created by glmCoin.
- by
"category" produces one row per category of the explanatory variables; "variable" collapses to one row per variable, using its representative category.
- criterion
How the representative category is chosen when by="variable": "p" (smallest p value) or "effect" (largest absolute effect).
- contrast
"gw" (default) shows marginal effects relative to the weighted overall mean (GW contrasts); "base" shows them relative to the first (base) category of each qualitative variable, whose row displays ref. (slopes of numeric variables are the same under both). Requires the estimate.base columns stored in G$links by the current version of glmCoin.
- columns
Which columns to display: "n" is the global frequency column, and "marg" (marginal level), "effect" (marginal effect), "se" (standard error), "ci" (confidence interval of the effect) and "sig" (significance stars) form the block repeated for each dependent variable. At least one block column is required. The default is c("n","marg","effect","se","sig"), which becomes c("n","marg","effect","ci","sig") when transform is given and columns is left untouched.
- transform
Function, or the name of one, putting the dependent back on its original scale; NULL (default) leaves the table on the scale of the model. Shortcuts: "expm1" (response modelled as log1p(y)), "exp" (as log(y)), "proportion" (percentages to proportions), "percent" (the reverse), "inverse" (1/y) and "expit" (log-odds to probability); any other name is looked up with match.fun, so "sqrt" or a user function also work. The marginal level becomes g(marg) and the effect the difference between two transformed levels, g(marg) - g(marg - effect), which is exact for any monotone g and reduces to a*effect when g is linear. Note that a standard error cannot be carried through a non-linear function: the interval of the "ci" column is obtained by transforming its ends, and is therefore asymmetric, whereas the "se" column, if requested, holds the first-order (delta-method) approximation.
- level
Confidence level of the "ci" column, 0.95 by default; it also names the column (CI95%, CI99%, ...).
- sig
Numeric vector with the significance thresholds of the stars, sorted internally in decreasing order: one star for p below the largest threshold, two for the next, and so on (any number of thresholds is allowed, e.g. sig=c(.1,.05,.01,.001) for a four-star scale).
- note
If TRUE, a legend with the meaning of the stars (built from sig) is added below the table, both when printing and in the exported formats.
- digits
Number of decimals for percentages and effects.
- footer
Character vector with the columns of G$equations to show as bottom rows, one value per model (multinomial responses share a single value across their category blocks). Available columns: n, n_obs, r2, r2.mcfadden, r2.nagelkerke, logLik, aic, bic, deviance, null.deviance, df.residual and family. Use NULL to omit the footer.
- file
Optional file name to export the table. The format is inferred from the extension (.txt, .tex or .csv) unless format is given.
- format
Export format: "text", "latex" or "csv" (the latter opens directly in Excel). If file is missing, a default name is used.