Learn R Programming

meme (version 0.2.3)

print.meme: print method for meme object

Description

print method for meme object

Usage

# S3 method for meme
print(
  x,
  size = NULL,
  color = NULL,
  font = NULL,
  upper = NULL,
  lower = NULL,
  vjust = NULL,
  bgcolor = NULL,
  r = NULL,
  newpage = is.null(vp),
  vp = NULL,
  newdev = FALSE,
  ...
)

# S3 method for meme plot( x, size = NULL, color = NULL, font = NULL, upper = NULL, lower = NULL, vjust = NULL, bgcolor = NULL, r = NULL, newpage = is.null(vp), vp = NULL, newdev = FALSE, ... )

Arguments

x

meme object

size

size of text

color

color of text

font

font family of text

upper

upper text

lower

lower text

vjust

vertical adjustment ratio

bgcolor

background color of shadow text

r

ratio for shadow text

newpage

draw new (empty) page first?

vp

viewport to draw plot in

newdev

open new graphic device?

...

other arguments not used by this method

Examples

Run this code
# NOT RUN {
f <- system.file("angry8.jpg", package="meme")
x <- meme(f, "code", "all the things!", font = "Helvetica")
print(x)
# }

Run the code above in your browser using DataLab