Learn R Programming

Description

This package offers an implementation of the SIR (Sliced Inverse Regression) method, along with a thresholded version of SIR that allows variable selection. Fore more information, you can check the vignette of the package on that link, and explore the code on the GitHub repository.

A paper is currently being written.

Install

From CRAN

install.packages("SIRthresholded")

From GitHub

To install the current development version from GitHub:

# install.packages("devtools")
devtools::install_github("clement-w/sirthresholded", build_vignettes = TRUE)

It is also possible to clone the repository, and install it manually (note: pandoc is required to build the vignette):

git clone git@github.com:Clement-W/SIRthresholded.git
cd SIRthresholded
R
# install.packages("devtools")
devtools::install(build_vignettes = TRUE)
library(SIRthresholded)

Access the vignette

Once that package is installed, you can access the vignette with

vignette("SIRthresholded")

Copy Link

Version

Install

install.packages('SIRthresholded')

Monthly Downloads

176

Version

1.0.2

License

GPL (>= 2.0)

Maintainer

Clement Weinreich

Last Published

June 9th, 2023

Functions in SIRthresholded (1.0.2)

plot.SIR_bootstrap

Graphical output of SIR_bootstrap
SIR

Classic SIR
plot.SIR_threshold_opt

Graphical output of SIR_threshold_opt
SIR_threshold_opt

SIR optimally thresholded
plot.SIR_threshold

Graphical output of SIR_threshold
SIR_threshold_bootstrap

SIR optimally thresholded on bootstraped replications
SIR_threshold

SIR threshold
SIR_bootstrap

Bootstrap SIR
plot.SIR_threshold_bootstrap

Graphical output of SIR_threshold_bootstrap
plot.SIR

Graphical output of SIR