Skip to content

Commit

Permalink
Update NEWS and README
Browse files Browse the repository at this point in the history
  • Loading branch information
pabsantos committed Oct 5, 2023
1 parent 87987c4 commit c61605c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# onsvplot 0.4.0

* Add new arguments to `scale_discrete_onsv`: `...`. Now it is possible to pass arguments to lower level `ggplot2` functions, such as `scale_discrete_manual` and `discrete_scale`.

# onsvplot 0.3.2

* Released on [CRAN](https://cran.r-project.org/package=onsvplot): now it is possible to install using `install.packages("onsvplot")`.
Expand Down
5 changes: 2 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ This is a basic example which shows you how to apply the functions included in t
library(onsvplot)
library(ggplot2)
plot1 <- ggplot(data = iris, aes(
x = Sepal.Length, y = Sepal.Width, color = Species
)) +
plot1 <-
ggplot(data = iris, aes(x = Sepal.Length, y = Sepal.Width, color = Species)) +
geom_point()
plot1
Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ included in this package. First, a basic ggplot graphics:
library(onsvplot)
library(ggplot2)

plot1 <- ggplot(data = iris, aes(
x = Sepal.Length, y = Sepal.Width, color = Species
)) +
plot1 <-
ggplot(data = iris, aes(x = Sepal.Length, y = Sepal.Width, color = Species)) +
geom_point()

plot1
Expand Down Expand Up @@ -106,17 +105,17 @@ If you want to cite this package, you can cite as:
#> To cite package 'onsvplot' in publications use:
#>
#> Santos PAB (2023). _onsvplot: National Road Safety Observatory (ONSV)
#> Style for 'ggplot2' Graphics_. R package version 0.3.2,
#> <https://github.com/pabsantos/onsvplot/>.
#> Style for 'ggplot2' Graphics_.
#> https://github.com/pabsantos/onsvplot/,
#> https://pabsantos.github.io/onsvplot/.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {onsvplot: National Road Safety Observatory (ONSV) Style for 'ggplot2' Graphics},
#> author = {Pedro Augusto Borges Santos},
#> year = {2023},
#> note = {R package version 0.3.2},
#> url = {https://github.com/pabsantos/onsvplot/},
#> note = {https://github.com/pabsantos/onsvplot/, https://pabsantos.github.io/onsvplot/},
#> }

<img src="man/figures/onsv.png" align="left" width="400"/>

0 comments on commit c61605c

Please sign in to comment.