report {StepReg}R Documentation

report from a StepReg object

Description

report output all tables in StepReg object to a report with format of html, docx, pptx, rtf, and xlsx.

Usage

report(x, report_name, format = c("html", "docx", "rtf", "pptx"))

Arguments

x

StepReg object

report_name

report name

format

the format of report, choose one or more from 'html', 'docx', 'rtf', 'pptx'. default is 'html'

Examples

## Not run: 
data(mtcars)
mtcars$yes <- mtcars$wt
formula <- mpg ~ . + 0
x <- stepwise(formula = formula,
              data = mtcars,
              type = "linear",
              strategy = "bidirection",
              metric = c("AIC", "BIC"))
report(x,report_name = "report", format = c("html","docx"))

## End(Not run)

[Package StepReg version 1.5.1 Index]