plot.wordsearch: Draw a wordsearch puzzle

View source: R/wordsearch.R

plot.wordsearchR Documentation

Draw a wordsearch puzzle

Description

Draw a wordsearch puzzle

Usage

## S3 method for class 'wordsearch'
plot(
  x,
  solution = FALSE,
  clues = TRUE,
  title = "",
  puzzle_size = NULL,
  legend_size = NULL,
  ...
)

Arguments

x

wordsearch object (class: wordsearch)

solution

show solution? (logical/scalar)

clues

show clues? (logical/scalar)

title

puzzle title (character/scalar)

puzzle_size

letter size of puzzle; ignore to auto-size (numeric/scalar)

legend_size

letter size of word list; set to NULL to auto-size (numeric/scalar)

...

additional plotting args

Value

ggplot object


anthonypileggi/worrrd documentation built on Jan. 13, 2023, 11:15 a.m.