Skip to content

Shiny App to check the need of nonlinear effects in standard regression models

Notifications You must be signed in to change notification settings

NErler/shiny-nonlinear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shiny-nonlinear

shiny-nonlinear is a tool to test if (one or more) predictor variables in a standard regression model have a non-linear relationship with the outcome, using natural cubic splines.

This app uses the packages shinyBS, stringr, splines, foreign, survival and lmtest, which need to be installed before the app can be used.

The packages can be installed with the following syntax:

# check if necessary packages are installed and install if not
need_packages <- c("stringr", "splines", "foreign", "survival", "lmtest", "shiny", "shinyBS")

new_packages <- need_packages[!(need_packages %in% installed.packages()[, "Package"])]
if (length(new.packages) > 0) install.packages(new_packages)

To download and run this app directly you can then use:

shiny::runGitHub("shiny-nonlinear", "NErler")

About

Shiny App to check the need of nonlinear effects in standard regression models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published