Learn R Programming

StepReg (version 1.6.0)

StepRegShinyApp: Launch StepReg Shiny Application

Description

Launches an interactive Shiny application for performing stepwise regression analysis. The application provides a user-friendly interface for data analysis, model selection, and visualization of results.

Usage

StepRegShinyApp()

Arguments

Value

Launches the Shiny application in the user's default web browser.

Details

The application consists of two main steps:

Step 1: Data Preparation

  • Upload custom datasets or select from built-in examples

  • Configure data import settings (headers, separators, quotes)

  • View and modify variable types (numeric, factor, integer, character)

  • Generate exploratory data visualizations

Step 2: Model Analysis

  • Select regression type:

    • Linear regression

    • Logistic regression

    • Cox proportional hazards

    • Poisson regression

    • Gamma regression

    • Negative binomial regression

  • Choose dependent and independent variables

  • Specify stepwise selection strategy:

    • Forward selection

    • Backward elimination

    • Bidirectional elimination

    • Best subset selection

  • Set model selection criteria (AIC, BIC, etc.)

  • Configure significance levels for variable entry/removal

  • Generate comprehensive reports and visualizations

See Also

stepwise for the core stepwise regression function

report for generating analysis reports

plot.StepReg for visualization functions

Examples

Run this code
if (FALSE) {
# Launch the StepReg Shiny application
StepRegShinyApp()
}

Run the code above in your browser using DataLab