exportLatex: Export varimpact results as Latex tables

View source: R/exportLatex.R

exportLatexR Documentation

Export varimpact results as Latex tables

Description

Outputs results from varimpact() into three Latex tables: consistent results, all results, and per-fold results.

Usage

exportLatex(impact_results, outname = "", dir = ".", digits = 4, ...)

Arguments

impact_results

Result object from previous varimpact() call.

outname

(Optional) String that is prepended to filenames.

dir

(Optional) Directory to save the results, defaults to current directory.

digits

Digits to round numbers, passed through to xtable.

...

Additional parameters passed to print.xtable().

Details

Creates three Latex table files:

  • varimpConsistent.tex - the “consistent” significant results, meaning those with consistent categories chosen as comparison groups among factors and consistent ordering for numeric variables.

  • varimpAll.tex - the file with cross-validated average variable impacts ordered by statistical significance.

  • varimpByV.tex - the comparison levels used within each validation sample. Either integer ordering of factors or short-hand for percentile cut-off (0-1 is the 10th percentile, 10+ is the 100th percentile)

See Also

varimpact


ck37/varImpact documentation built on June 26, 2022, 4:02 a.m.