visreg

Visualization of regression functions

https://github.com/pbreheny/visreg

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 5 committers (40.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Visualization of regression functions

Basic Info
Statistics
  • Stars: 63
  • Watchers: 3
  • Forks: 18
  • Open Issues: 31
  • Releases: 7
Created almost 14 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog

README.md

GitHub version CRAN version downloads R-CMD-check codecov.io <!-- badges: end -->

visreg: Visualization of Regression Models

visreg is an R package for displaying the results of a fitted model in terms of how a predictor variable x affects an outcome y. The implementation of visreg takes advantage of object-oriented programming in R, meaning that it works with virtually any type of formula-based model in R provided that the model class provides a predict() method: lm, glm, gam, rlm, nlme, lmer, coxph, svm, randomForest and many more.

Installation

To install the latest release version from CRAN:

r install.packages("visreg")

To install the latest development version from GitHub:

r remotes::install_github("pbreheny/visreg")

Usage

The basic usage is that you fit a model, for example:

r fit <- lm(Ozone ~ Solar.R + Wind + Temp, data=airquality)

and then you pass it to visreg:

r visreg(fit, "Wind")

img

A more complex example, which uses the gam() function from mgcv:

r airquality$Heat <- cut(airquality$Temp, 3, labels=c("Cool", "Mild", "Hot")) fit <- gam(Ozone ~ s(Wind, by=Heat, sp=0.1), data=airquality) visreg(fit, "Wind", "Heat", gg=TRUE, ylab="Ozone")

img

More information

For more information on visreg syntax and how to use it, see:

The website focuses more on syntax, options, and user interface, while the paper goes into more depth regarding the statistical details.

Owner

  • Name: Patrick Breheny
  • Login: pbreheny
  • Kind: user
  • Location: Iowa City, IA
  • Company: University of Iowa

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 7
Last Year
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 7

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 234
  • Total Committers: 5
  • Avg Commits per committer: 46.8
  • Development Distribution Score (DDS): 0.218
Past Year
  • Commits: 6
  • Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Patrick Breheny p****y@u****u 183
Patrick Breheny p****y@u****u 48
pat5547 p****7@g****m 1
Remko Duursma r****a@g****m 1
jealie j****r@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 115
  • Total pull requests: 2
  • Average time to close issues: 4 months
  • Average time to close pull requests: 19 days
  • Total issue authors: 66
  • Total pull request authors: 2
  • Average comments per issue: 2.08
  • Average comments per pull request: 0.5
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pbreheny (39)
  • vspinu (4)
  • Derek-Jones (3)
  • ghost (2)
  • HaoLi111 (2)
  • utooley (2)
  • jebyrnes (2)
  • rdiaz02 (2)
  • DanielReedOcean (2)
  • jasonrohr (1)
  • jwbenning (1)
  • raymondben (1)
  • kwhkim (1)
  • manuSrep (1)
  • GuillaumeA2 (1)
Pull Request Authors
  • RemkoDuursma (1)
  • jealie (1)
Top Labels
Issue Labels
enhancement (10) bug (6) question (5) new feature (4) compatibility (2) documentation (2) refactor (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 3,810 last-month
  • Total docker downloads: 1,419
  • Total dependent packages: 5
  • Total dependent repositories: 14
  • Total versions: 26
  • Total maintainers: 1
cran.r-project.org: visreg

Visualization of Regression Models

  • Versions: 26
  • Dependent Packages: 5
  • Dependent Repositories: 14
  • Downloads: 3,810 Last month
  • Docker Downloads: 1,419
Rankings
Forks count: 4.1%
Downloads: 5.6%
Stargazers count: 5.7%
Dependent repos count: 7.7%
Average: 7.9%
Dependent packages count: 8.1%
Docker downloads count: 16.0%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • nlme * enhances
  • lattice * imports
  • MASS * suggests
  • Matrix * suggests
  • ggplot2 * suggests
  • knitr * suggests
  • rgl * suggests
  • rmarkdown * suggests
  • survival * suggests
  • tinytest * suggests
.github/workflows/check-standard.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite