Automatic Linear and Logistic Regression and Survival Analysis
Overview
Make summary tables for descriptive statistics and select explanatory variables automatically in various regression models. Support linear models, generalized linear models and cox-proportional hazard models. Generate publication-ready tables summarizing result of regression analysis and plots. The tables and plots can be exported in "HTML", "pdf('LaTex')", "docx('MS Word')" and "pptx('MS Powerpoint')" documents.
Install
Health
ERRORexamplesr-devel-linux-x86_64-debian-gcc
Running examples in ‘autoReg-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: OEplot
> ### Title: Draw an Observed vs Expected plot
> ### Aliases: OEplot
>
> ### ** Examples
>
> library(survival)
> data(cancer,package="survival")
> fit=coxph(Surv(time,status)~rx+age+sex,data=colon)
> OEplot(fit)
Error in a$specials[[i]] : subscript out of bounds
Calls: OEplot ... survfit.coxph -> model.matrix.coxph -> delete.response -> off
Execution haltedERRORre-building of vignette outputsr-devel-linux-x86_64-debian-gcc
Error(s) in re-building vignettes:
...
--- re-building ‘Automatic_Regression_Modeling.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘Automatic_Regression_Modeling.Rmd’
--- re-building ‘Bootstrap_Prediction.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘Bootstrap_Prediction.Rmd’
--- re-building ‘Getting_started.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘Getting_started.Rmd’
--- re-building ‘Statiastical_test_in_gaze.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘Statiastical_test_in_gaze.Rmd’
--- re-building ‘Survival.Rmd’ using rmarkdown
Quitting from Survival.Rmd:152-155 [unnamed-chunk-15]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `a$specials[[i]]`:
! subscript out of bounds
---
Backtrace:
▆
1. └─survival::cox.zph(fit)
2. └─survival:::coxph.getdata(...)
3. ├─stats::model.matrix(fit, data = mf)
4. └─survival:::model.matrix.coxph(fit, data = mf)
5. └─stats::delete.response(object$terms)
6. └─stats (local) off(a$specials[[i]])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Survival.Rmd' failed with diagnostics:
subscript out of bounds
--- failed re-building ‘Survival.Rmd’
SUMMARY: processing the following file failed:
‘Survival.Rmd’
Error: Vignette re-building failed.
Execution halted- ERROR12 OK, 1 ERROR2026-10-24
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
Show 7 earlier changesHide 7 earlier changes
- OK13 OK2026-06-27
- WARNING4 OK, 9 WARNING2026-06-09
- ERROR4 OK, 8 WARNING, 1 ERROR2026-06-08
- WARNING10 OK, 3 WARNING2026-06-03
- OK13 OK2026-05-02
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 84 (1 internal)
- Examples that run
- 100%65 run in a plain check
- Exported functions with examples
- 91%
- Documented parameters
- 100%
- Return-value docs
- 97%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/cardiomoon/autoreg on 2026-10-22.
GitHub Pages site last deployed 2026-06-19 · The repository has a site deploy workflow
pkgdown site last built 2026-06-19, before release 0.3.5 (2026-06-20)
Dependencies
Installing autoReg adds 166 packages (84 with compiled code, 133 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.5Latest
- 0.3.32023-11-14 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.3.2
- RR 4.2.0 released · 2022-04-22
- 0.2.62022-04-05 · diff ↗ ·
added 27 exports
%>%, OEplot, addLabelData, adjustedPlot, adjustedPlot2, as_printable, autoRegsurvreg, coxzphplot, expectedPlot, fit2lik, fit2newdata, highlight2, is.mynumeric, loglogplot, modelsSummary, modelsSummaryTable, myformat, mysurvregSimple, num2factor, printdf, residualNull, select, showEffect, strata2df, survfit2df, survreg2final, survreg2multi - 0.1.02022-01-10
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-01-10
- Total releases
- 5 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 1.5 KB / 3 files
- Download size
- 2.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("autoReg")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.