-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2426c15
commit dc051a0
Showing
27 changed files
with
1,086 additions
and
446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
^.git$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^_EXAMPLES$ | ||
^README\.Rmd$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
Package: plot2 | ||
Type: Package | ||
Title: What the Package Does Using Title Case | ||
Version: 1.0 | ||
Title: Lightweight extension of the base R plot function, with support for | ||
automatic grouping and legend printing, and several other enhancements | ||
Version: 0.0.0.9000 | ||
Date: 2023-02-21 | ||
Author: Grant McDermott | ||
Maintainer: Grant McDermott <[email protected]> | ||
Description: More details about what the package does. See | ||
<http://cran.r-project.org/doc/manuals/r-release/R-exts.html#The-DESCRIPTION-file> | ||
for details on how to write this part. | ||
License: GPL (>= 2) | ||
Suggests: tinytest | ||
Description: Making base plot less painful. | ||
License: GPL (>= 2) | ||
Depends: | ||
R (>= 3.3) | ||
Imports: | ||
graphics, | ||
grDevices | ||
Suggests: | ||
tinytest, | ||
basetheme | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
## export all regularly named functions | ||
## (but allow for private functions whose name starts with a dot).name <- function(...) | ||
exportPattern("^[[:alpha:]]+") | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
S3method(plot2,default) | ||
S3method(plot2,formula) | ||
export(plot2) | ||
importFrom(grDevices,hcl.colors) | ||
importFrom(grDevices,hcl.pals) | ||
importFrom(grDevices,palette.colors) | ||
importFrom(grDevices,palette.pals) | ||
importFrom(graphics,axis) | ||
importFrom(graphics,box) | ||
importFrom(graphics,grconvertX) | ||
importFrom(graphics,lines) | ||
importFrom(graphics,par) | ||
importFrom(graphics,plot.new) | ||
importFrom(graphics,plot.window) | ||
importFrom(graphics,points) | ||
importFrom(graphics,title) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#' \code{plot2-package} | ||
#' | ||
#' @title plot2: Lightweight extension of the base R plot function, with support | ||
#' for automatic grouping and legend printing, and several other enhancements | ||
#' | ||
#' @description The goal of **plot2** is to extend the functionality of base R's | ||
#' default (2D) `plot()` function, particularly as it applies to scatter and | ||
#' line plots with grouped data. For example, **plot2** makes it easy to plot | ||
#' different categories of a dataset in a single function call and highlight | ||
#' these categories (groups) using modern colour palettes. Coincident with | ||
#' this grouping support, **plot2** also produces automatic legends with scope | ||
#' for further customization. While the package also offers several other | ||
#' minor enhancements, it tries as far as possible to be a drop-in replacement | ||
#' for the equivalent base plot function. Users should be able to swap a valid | ||
#' `plot` call with `plot2` without any changes to the expected output. | ||
#' | ||
#' @docType package | ||
#' @aliases plot2-package | ||
#' @name plot2-package | ||
#' @keywords internal | ||
"_PACKAGE" |
Oops, something went wrong.