ggpostcard_example_contouR: An example postcard with art from the contouR package

View source: R/ggpostcard_example_contouR.R

ggpostcard_example_contouRR Documentation

An example postcard with art from the contouR package

Description

This example makes a postcard with a beautiful graphic using the contouR package by Ijeamaka Anyene.

Usage

ggpostcard_example_contouR(background_col = NULL, line_col = NULL)

Arguments

background_col

(optional) the background color of the plot

line_col

(optional) the color of the lines in the plot

Value

a ggplot2 plot to pass to ggpostcard

See Also

Other ggpostcard_examples: ggpostcard_example_rstereogram(), ggpostcard_example_sunrise()

Examples

library(ggirl)
return_address <- address(name = "Jacqueline Nolis", address_line_1 = "111 North St",
                          city = "Seattle", state = "WA",
                          postal_code = "11111", country = "US")
contact_email <- "fakeemailforreal@gmail.com"
send_addresses <- address(name = "Fake Personname", address_line_1 = "250 North Ave",
                          city = "Boston", state = "MA",
                          postal_code = "22222", country = "US")
messages <- "Look at this cool plot I found!"
plot <- ggpostcard_example_contouR()
ggpostcard(plot = plot, contact_email = contact_email, return_address = return_address,
  send_addresses = send_addresses, messages = messages)

jnolis/ggirl documentation built on July 1, 2023, 4:51 p.m.