library(tibble) knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of anagram is to retrieve anagrams of a word from a list of english words.
You can install development version from GitHub with:
# install.packages("devtools") devtools::install_github("romainfrancois/anagram")
The main function is anagrams
library(anagram) anagrams("taste")
The r emo::ji("package")
also has the list of english words as a vector
sample( english, 10 )
and a tibble of anagram data
library(dplyr) data_english %>% filter( n_anagrams == 4) %>% sample_n(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.