项目作者: ygeunkim

项目描述 :
Private tools for ggplot2
高级语言: R
项目地址: git://github.com/ygeunkim/goodgraphic.git
创建时间: 2019-03-19T14:29:50Z
项目社区:https://github.com/ygeunkim/goodgraphic

开源协议:Other

下载


goodgraphic

Private tools for ggplot2

This package is a set of functions that are frequently used by
ygeunkim with ggplot2.

Install

  1. devtools::install_github("ygeunkim/goodgraphic")

Using tidyverse package is recommended.

  1. library(tidyverse)
  2. library(goodgraphic)

Scatter plot

This is the function motivated by Jackson
(2017).

  1. gg_scatter(diamonds, mapping = aes(x = carat, y = price), alpha_focus = TRUE, size = 2)


Reference





Jackson, Simon. 2017. “Pretty Scatter Plots with Ggplot2.”
https://www.r-bloggers.com/pretty-scatter-plots-with-ggplot2.