printable {worrrd} | R Documentation |
Prepare a worrrd object for printing
Description
Prepare a worrrd object for printing
Usage
printable(x, filename = "plot.pdf")
Arguments
x |
ggplot object |
filename |
name of file |
Value
filename of pdf puzzle
Examples
words <- c("dog", "cat", "horse", "frog", "cow", "fox")
ex1 <- wordsearch(words, r = 10, c = 10)
my_puzzle <- plot(ex1, solution = FALSE)
printable(my_puzzle, "my_wordsearch.pdf")
unlink("my_wordsearch.pdf")
[Package worrrd version 0.1.0 Index]