ggbreak R Package

repository·master·Indexed 40 days ago

https://github.com/yulab-smu/ggbreak

An R package that extends ggplot2 by providing scale functions to implement axis breaks, allowing for discontinuous axes to better visualize datasets with large ranges or significant outliers.

Tokens
247
Snippets
2
Records
3
Agent score
50%

What's inside ggbreak

  1. Overview of ggbreak

    master
    ggbreak is an R package that provides scale functions for setting axis breaks in ggplot2 plots. It is designed to help users effectively utilize plotting space when dealing with large datasets or outliers by allowing for discontinuous axes.
  2. Install ggbreak

    master

    You can install the stable version of ggbreak from CRAN or the development version from GitHub using the following R commands.

    # Install from CRAN
    install.packages("ggbreak")
    
    # Install development version from GitHub
    remotes::install_github("YuLab-SMU/ggbreak")
  3. Install ggbreak from CRAN or GitHub

    master

    You can install the released version of ggbreak from CRAN or the development version directly from GitHub using remotes.

    To install from CRAN:

    install.packages("ggbreak")

    To install the development version from GitHub:

    remotes::install_github("YuLab-SMU/ggbreak")
    install.packages("ggbreak")