dp | R Documentation |
TODO:
dp(tokens, parts, v, norm = TRUE)
tokens |
character or factor of the same length as |
parts |
character or factor of the same length as |
v |
integer vector with per document frequencies |
norm |
logical whether or not to normalize, see Details |
TODO:
numeric
n <- 50 v <- sample(1:100, n, replace = TRUE) tokens <- sample(letters, n, replace = TRUE) parts <- sample(LETTERS[1:3], n, replace = TRUE) dp(tokens, parts, v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.