printable | R Documentation |
Prepare a worrrd object for printing
printable(x, filename = "plot.pdf")
x |
ggplot object |
filename |
name of file |
filename of pdf puzzle
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.