Package: ggpackets 0.2.1

ggpackets: Package Plot Layers for Easier Portability and Modularization

Create groups of 'ggplot2' layers that can be easily migrated from one plot to another, reducing redundant code and improving the ability to format many plots that draw from the same source 'ggpacket' layers.

Authors:Doug Kelkhoff [aut, cre]

ggpackets_0.2.1.tar.gz
ggpackets_0.2.1.zip(r-4.5)ggpackets_0.2.1.zip(r-4.4)ggpackets_0.2.1.zip(r-4.3)
ggpackets_0.2.1.tgz(r-4.4-any)ggpackets_0.2.1.tgz(r-4.3-any)
ggpackets_0.2.1.tar.gz(r-4.5-noble)ggpackets_0.2.1.tar.gz(r-4.4-noble)
ggpackets_0.2.1.tgz(r-4.4-emscripten)ggpackets_0.2.1.tgz(r-4.3-emscripten)
ggpackets.pdf |ggpackets.html
ggpackets/json (API)
NEWS

# Install 'ggpackets' in R:
install.packages('ggpackets', repos = c('https://dgkf.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/dgkf/ggpackets/issues

On CRAN:

ggplotplotting

7.01 score 68 stars 1 packages 12 scripts 2.8k downloads 2 exports 28 dependencies

Last updated 2 years agofrom:5c24be6471. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-winOKNov 09 2024
R-4.5-linuxOKNov 09 2024
R-4.4-winOKNov 09 2024
R-4.4-macOKNov 09 2024
R-4.3-winOKNov 09 2024
R-4.3-macOKNov 09 2024

Exports:%+%ggpacket

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

Composing Templates & Functions

Rendered fromcomposing-functions.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2020-07-13
Started: 2018-01-16

Getting Started with ggpackets

Rendered fromggpackets.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2022-07-21
Started: 2018-01-16

Miscellaneous Examples

Rendered frommiscellaneous-examples.Rmdusingknitr::rmarkdownon Nov 09 2024.

Last update: 2022-07-26
Started: 2018-03-31

Readme and manuals

Help Manual

Help pageTopics
ggpackets: Package Plot Layers for Easier Portability and Modularizationggpackets-package ggpackets
Extracted .all_aesthetics from internal ggplot2 with hardcoded fallback.all_aesthetics
Index into a ggpacket object[,ggpacket-method
Subset a ggpacket for a selection of ggcalls[.ggpacket
Index into a ggpacket object[[,ggpacket-method
Subset a ggpacket for a selection of ggcalls[[.ggpacket
Lazy handler for ggplot addition%+%
Convert a ggpacket to a list of ggcallsas.list,ggpacket-method
Collapse data argumentscollapse_data
Collapse aesthetic mappings argumentscollapse_mappings
Remove arguments with duplciated namesdeduplicate_params
Expand dot arguments into named argumentsexpand_dots
Filter a named list by idsfilter_by_ggcall_ids
Add a gg object to a ggpacket objectgg_plus_ggpacket
A container for lazy ggplot layersggpacket
The function used when a 'ggpacket' is called as a functionggpacket_call
Swallow calls when a ggpacket is added to any expressionggpacket_plus_ANY
A ggpacket object+,ggpacket,ANY-method ggpacket-class ggpacket-method show, show,ggpacket-method
Specific handling of ..reset.. aesthetichandle_reset_mapping
Get the number of ggcalls within a ggpacketlength,ggpacket-method
Match unnamed argumentsmatch_unnamed_args
Fetch the ids associated with each ggcallnames,ggpacket-method
Filter for only arguments that can be accepted by a given functiononly_formals_and_dots
Check a ggpacket object for required aesthetic argumentsrequired_aesthetics
Returning the calling object from within a functionself
Mimic ggplot2 behavior of intelligently interpretting first layer argumentsmart_swap_mapping_data
Substitute a ggcall's dot aesthetics with their redirected valuessubstitute_ggcall_dot_aes
Substitute a quoted expression in a given environmmentsubstitute_quote
Reduce data parameters, iteratively applying functions or maskingupdate_data
Reduce a list of mappings, iteratively routing aestheticsupdate_mapping
Evaluate an expression, ignoring warnings about unknown parameterswith_ignore_unknown_params