Skip to content

Commit

Permalink
Remove code style
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Jan 17, 2024
1 parent 1647c63 commit 92a602a
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions vignettes/ggblanket.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -491,25 +491,6 @@ iris |>
)
```

## Code style

The following code style is recommended:

a). Put each argument on a different line to the opening and closing bracket

b). Use trailing comma's

c). Order arguments as follows:

- `data`
- aesthetics: `x*`/`y*`/`col`/`alpha`/`facet`/`facet2` etc (in this order)
- `stat`/`position`/`coord` (in this order)
- ... (i.e. any other arguments from the applicable `geom_*` function)
- `x_*`/`y_*`/`col_*`/`alpha_*`/`facet_*` (in this order)
- `theme`

For `gg_blanket`, put `geom`, `stat`, `position` and `coord` (in this order) upfront straight after `data`.

## Further information

See the ggblanket [website](https://davidhodge931.github.io/ggblanket/index.html) for further information, including [articles](https://davidhodge931.github.io/ggblanket/articles/) and [function reference](https://davidhodge931.github.io/ggblanket/reference/index.html).

0 comments on commit 92a602a

Please sign in to comment.