View source: R/observe_sonnet_chain.R
observe_sonnet_chain | R Documentation |
Formatting of the raw text file of 154 sonnets by Shakespeare. The function prepares it into a discrete time observed chain by putting each word in a big vector/list, removing punctuation, cases, and titles.
observe_sonnet_chain(punctuation = FALSE, uppercase = FALSE)
punctuation |
boolean whether to keep punctuation (TRUE) or not (FALSE) |
uppercase |
boolean whether to distinuqish between uppercase (TRUE) or not (FALSE) |
list containing named entries
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.