ggpmisc

Miscellaneous Extensions to 'ggplot2'

Extensions to 'ggplot2' respecting the grammar of graphics paradigm. Specialization of method ggplot(): accept and convert on the fly time series data. Geom: "table", "plot" and "grob" add insets to plots using native data coordinates, while "table_npc", "plot_npc" and "grob_npc" do the same using "npc" coordinates through new aesthetics "npcx" and "npcy". Statistics: locate and tag peaks and valleys; count observations in different quadrants of a plot; select observations based on 2D density; label with the equation of a polynomial fitted with lm() or other types of models; labels with P-value, R^2 or adjusted R^2 or information criteria for fitted models; label with ANOVA table for fitted models; label with summary for fitted models. Model fit classes for which suitable methods are provided by package 'broom' are supported. Scales and stats to build volcano and quadrant plots based on outcomes, fold changes, p-values and false discovery rates.

Total

58,492

Last month

3,850

Last week

956

Average per day

128

Daily downloads

Total downloads

Description file content

Package
ggpmisc
Type
Package
Title
Miscellaneous Extensions to 'ggplot2'
Version
0.3.3
Date
2019-11-23
Maintainer
Pedro J. Aphalo
Description
Extensions to 'ggplot2' respecting the grammar of graphics paradigm. Specialization of method ggplot(): accept and convert on the fly time series data. Geom: "table", "plot" and "grob" add insets to plots using native data coordinates, while "table_npc", "plot_npc" and "grob_npc" do the same using "npc" coordinates through new aesthetics "npcx" and "npcy". Statistics: locate and tag peaks and valleys; count observations in different quadrants of a plot; select observations based on 2D density; label with the equation of a polynomial fitted with lm() or other types of models; labels with P-value, R^2 or adjusted R^2 or information criteria for fitted models; label with ANOVA table for fitted models; label with summary for fitted models. Model fit classes for which suitable methods are provided by package 'broom' are supported. Scales and stats to build volcano and quadrant plots based on outcomes, fold changes, p-values and false discovery rates.
License
GPL (>= 2)
LazyData
TRUE
LazyLoad
TRUE
ByteCompile
TRUE
Depends
R (>= 3.5.0), ggplot2 (>= 3.2.1)
Imports
grid, rlang (>= 0.4.0), magrittr (>= 1.5), gridExtra (>= 2.3), scales (>= 1.0.0), MASS (>= 7.3-51.3), polynom (>= 1.4-0), splus2R (>= 1.2-2), tibble (>= 2.1.3), plyr (>= 1.8.4), dplyr (>= 0.8.3), xts (>= 0.11-2), zoo (>= 1.8-6), broom (>= 0.5.2), lubridate (>= 1.7.4), stringr (>= 1.4.0)
Suggests
knitr (>= 1.25), rmarkdown (>= 1.15), nlme (>= 3.1-140), gginnards(>= 0.0.2), ggrepel (>= 0.8.1), magick (>= 2.2)
URL
BugReports
https://bitbucket.org/aphalo/ggpmisc/issues
Encoding
UTF-8
RoxygenNote
7.0.1
VignetteBuilder
knitr
NeedsCompilation
no
Packaged
2019-11-30 14:26:14 UTC; aphalo
Author
Pedro J. Aphalo [aut, cre] (), Kamil Slowikowski [ctb]
Repository
CRAN
Date/Publication
2019-12-01 23:00:21 UTC

install.packages('ggpmisc')

0.3.3

13 days ago

https://www.r4photobiology.info

Pedro J. Aphalo

GPL (>= 2)

Depends on

R (>= 3.5.0), ggplot2 (>= 3.2.1)

Imports

grid, rlang (>= 0.4.0), magrittr (>= 1.5), gridExtra (>= 2.3), scales (>= 1.0.0), MASS (>= 7.3-51.3), polynom (>= 1.4-0), splus2R (>= 1.2-2), tibble (>= 2.1.3), plyr (>= 1.8.4), dplyr (>= 0.8.3), xts (>= 0.11-2), zoo (>= 1.8-6), broom (>= 0.5.2), lubridate (>= 1.7.4), stringr (>= 1.4.0)

Suggests

knitr (>= 1.25), rmarkdown (>= 1.15), nlme (>= 3.1-140), gginnards(>= 0.0.2), ggrepel (>= 0.8.1), magick (>= 2.2)

Discussions