Skip to content

Commit

Permalink
Remove deprecated position= example
Browse files Browse the repository at this point in the history
  • Loading branch information
sherrillmix committed Aug 13, 2019
1 parent 8cae192 commit 0eeea38
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: ggbeeswarm
Type: Package
Title: Categorical Scatter (Violin Point) Plots
Version: 0.7.0
Date: 2019-08-12
Date: 2019-08-13
Authors@R: c(
person(given="Erik", family="Clarke", role=c("aut", "cre"), email="[email protected]"),
person(given="Scott", family="Sherrill-Mix", role=c("aut"), email="[email protected]"))
Expand Down
5 changes: 1 addition & 4 deletions R/position-quasirandom.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
#' @param dodge.width Amount by which points from different aesthetic groups will be dodged. This requires that one of the aesthetics is a factor.
#' @export
#' @importFrom vipor offsetX
#' @seealso \code{\link[vipor]{offsetX}}
#' @examples
#'
#' ggplot2::qplot(class, hwy, data = ggplot2::mpg, position=position_quasirandom())
#' @seealso \code{\link[vipor]{offsetX}}, \code{\link{geom_quasirandom}}
#'
position_quasirandom <- function (width = NULL, varwidth = FALSE, bandwidth=.5,nbins=NULL,method='quasirandom',groupOnX=NULL,dodge.width=0){
ggplot2::ggproto(NULL,PositionQuasirandom,width = width, varwidth = varwidth, bandwidth=bandwidth,nbins=nbins,method=method,groupOnX=groupOnX,dodge.width=dodge.width)
Expand Down
Binary file modified inst/doc/usageExamples.pdf
Binary file not shown.
7 changes: 1 addition & 6 deletions man/position_quasirandom.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0eeea38

Please sign in to comment.