The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Title: Make Graphs with US Agency for International Development Colors
Version: 2.0.2
Maintainer: Jacob Patterson-Stein <jacobpstein@gmail.com>
Description: Automatically apply the United States Agency for International Development's color palette and fonts for either discrete or continuous variables.
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (≥ 2.10), extrafont, extrafontdb, ggplot2
RoxygenNote: 7.3.2
Suggests: testthat (≥ 3.0.0)
Config/testthat/edition: 3
URL: https://github.com/jacobpstein/usaid_plot
BugReports: https://github.com/jacobpstein/usaid_plot/issues
NeedsCompilation: no
Packaged: 2024-09-27 01:08:45 UTC; jacobpstein
Author: Jacob Patterson-Stein [aut, cre]
Repository: CRAN
Date/Publication: 2024-09-30 10:30:02 UTC

Create plots with the United States Agency for International Development's color palette

Description

Create plots with the United States Agency for International Development's color palette

Usage

usaid_plot(data_type = "discrete", ppt = FALSE)

Arguments

data_type

A value to denote either "discrete" or "continuous" data are being graphed. "discrete" is the default.

ppt

A TRUE or FALSE option that changes the plot and facet background to match USAID's PowerPoint template colors.

Value

Returns a ggplot2 theme

Examples

p <- ggplot(mtcars, aes(x = wt, y = mpg)) +
geom_point(aes(fill = factor(gear)), shape = 21, stroke = 1, col = "white", size = 6) +
usaid_plot()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.