소스 검색

Final Readme tweaks

pull/1/head
Garrick Aden-Buie 8 년 전
부모
커밋
2879fce118
10개의 변경된 파일21개의 추가작업 그리고 16개의 파일을 삭제
  1. +7
    -7
      Readme.Rmd
  2. +14
    -9
      Readme.md
  3. BIN
      Readme_files/figure-gfm/plot-bar-chart-painted.png
  4. BIN
      Readme_files/figure-gfm/plot-demo-3.png
  5. BIN
      Readme_files/figure-gfm/plot-demo-4.png
  6. BIN
      Readme_files/figure-gfm/plot-demo-5.png
  7. BIN
      Readme_files/figure-gfm/plot-demo-painted.png
  8. BIN
      Readme_files/figure-gfm/plot-density-demo-painted.png
  9. BIN
      Readme_files/figure-gfm/plot-full-bar-stack-painted.png
  10. BIN
      Readme_files/figure-gfm/plot-ridges-painted.png

+ 7
- 7
Readme.Rmd 파일 보기



## Installation ## Installation


This package isn't on CRAN, so you'll need to use the devtools package to install it.

```r ```r
# If you don't have devtools installed # If you don't have devtools installed
install.packages("devtools") install.packages("devtools")


## Demo! ## Demo!


We'll need dplyr and ggplot2 (loaded with **ggpomological**)
We'll need ggplot2 (loaded with **ggpomological**) and dplyr


```r ```r
library(ggpomological) library(ggpomological)
basic_iris_plot basic_iris_plot


# With pomological colors # With pomological colors
basic_iris_plot <- basic_iris_plot +
scale_color_pomological()
basic_iris_plot <- basic_iris_plot + scale_color_pomological()
basic_iris_plot basic_iris_plot


# With pomological theme # With pomological theme
pomological_iris <- basic_iris_plot + theme_pomological() pomological_iris <- basic_iris_plot + theme_pomological()
pomological_iris


# With transparent background # With transparent background
basic_iris_plot +
theme_pomological_nobg()
basic_iris_plot + theme_pomological_nobg()


# Or with "plain" pomological # Or with "plain" pomological
basic_iris_plot +
theme_pomological_plain()
basic_iris_plot + theme_pomological_plain()


# Painted! # Painted!
paint_pomological(pomological_iris, res = 110) %>% paint_pomological(pomological_iris, res = 110) %>%

+ 14
- 9
Readme.md 파일 보기



## Installation ## Installation


This package isn’t on CRAN, so you’ll need to use the devtools package
to install it.

``` r ``` r
# If you don't have devtools installed # If you don't have devtools installed
install.packages("devtools") install.packages("devtools")


## Demo\! ## Demo\!


We’ll need dplyr and ggplot2 (loaded with **ggpomological**)
We’ll need ggplot2 (loaded with **ggpomological**) and dplyr


``` r ``` r
library(ggpomological) library(ggpomological)


``` r ``` r
# With pomological colors # With pomological colors
basic_iris_plot <- basic_iris_plot +
scale_color_pomological()
basic_iris_plot <- basic_iris_plot + scale_color_pomological()
basic_iris_plot basic_iris_plot
``` ```


``` r ``` r
# With pomological theme # With pomological theme
pomological_iris <- basic_iris_plot + theme_pomological() pomological_iris <- basic_iris_plot + theme_pomological()
pomological_iris
```

![](Readme_files/figure-gfm/plot-demo-3.png)<!-- -->


``` r
# With transparent background # With transparent background
basic_iris_plot +
theme_pomological_nobg()
basic_iris_plot + theme_pomological_nobg()
``` ```


![](Readme_files/figure-gfm/plot-demo-3.png)<!-- -->
![](Readme_files/figure-gfm/plot-demo-4.png)<!-- -->


``` r ``` r
# Or with "plain" pomological # Or with "plain" pomological
basic_iris_plot +
theme_pomological_plain()
basic_iris_plot + theme_pomological_plain()
``` ```


![](Readme_files/figure-gfm/plot-demo-4.png)<!-- -->
![](Readme_files/figure-gfm/plot-demo-5.png)<!-- -->


``` r ``` r
# Painted! # Painted!

BIN
Readme_files/figure-gfm/plot-bar-chart-painted.png 파일 보기

Before After
Width: 800  |  Height: 500  |  Size: 531KB Width: 800  |  Height: 500  |  Size: 531KB

BIN
Readme_files/figure-gfm/plot-demo-3.png 파일 보기

Before After
Width: 768  |  Height: 480  |  Size: 53KB Width: 768  |  Height: 480  |  Size: 53KB

BIN
Readme_files/figure-gfm/plot-demo-4.png 파일 보기

Before After
Width: 768  |  Height: 480  |  Size: 43KB Width: 768  |  Height: 480  |  Size: 53KB

BIN
Readme_files/figure-gfm/plot-demo-5.png 파일 보기

Before After
Width: 768  |  Height: 480  |  Size: 43KB

BIN
Readme_files/figure-gfm/plot-demo-painted.png 파일 보기

Before After
Width: 800  |  Height: 500  |  Size: 534KB Width: 800  |  Height: 500  |  Size: 534KB

BIN
Readme_files/figure-gfm/plot-density-demo-painted.png 파일 보기

Before After
Width: 800  |  Height: 500  |  Size: 515KB Width: 800  |  Height: 500  |  Size: 515KB

BIN
Readme_files/figure-gfm/plot-full-bar-stack-painted.png 파일 보기

Before After
Width: 800  |  Height: 500  |  Size: 509KB Width: 800  |  Height: 500  |  Size: 509KB

BIN
Readme_files/figure-gfm/plot-ridges-painted.png 파일 보기

Before After
Width: 800  |  Height: 500  |  Size: 528KB Width: 800  |  Height: 500  |  Size: 528KB

Loading…
취소
저장