knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", message = FALSE, warning = FALSE )
The R package RRRR provides methods for estimating online Robust Reduced-Rank Regression.
To cite package ‘RRRR’ in publications use:
Yangzhuoran Fin Yang and Ziping Zhao (2023). RRRR: Online Robust Reduced-Rank Regression Estimation. R package version 1.1.1. https://pkg.yangzhuoranyang.com/RRRR/.
You can install the stable version on R CRAN.
install.packages("RRRR")
You can install the development version from Github with:
# install.packages("devtools") devtools::install_github("FinYang/RRRR")
The R package RRRR provides the following estimation methods.
RRR
RRRR
ORRRR
RRR
): update.RRRR
See the vignette for a more detailed illustration.
library(RRRR) set.seed(2222) data <- RRR_sim() res <- ORRRR(y=data$y, x=data$x, z=data$z) res plot(res) newdata <- RRR_sim(A = data$spec$A, B = data$spec$B, D = data$spec$D) res2 <- update(res, newy=newdata$y, newx=newdata$x, newz=newdata$z) res2 plot(res2)
This package is free and open source software, licensed under GPL-3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.