Description Usage Arguments Details Value
Compute additional variables to snippet data created by
snippets_make()
. These are based on tokens, types, and various
readability measures.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | covars_make(x, ...)
## S3 method for class 'snippet'
covars_make(x, ...)
## S3 method for class 'data.frame'
covars_make(x, text_field = "text", ...)
## S3 method for class 'corpus'
covars_make(x, ...)
## S3 method for class 'character'
covars_make(x, readability_measure = NULL, normalize = TRUE, ...)
covars_make_all(x, ..., dependency = TRUE, verbose = FALSE)
|
x |
snippet data from |
... |
arguments passed through to |
text_field |
the name of the text field, if a data.frame, default
is |
readability_measure |
additional readability measures passed through in
the |
normalize |
if |
dependency |
logical; if |
verbose |
logical; if |
covars_make_all
calls covars_make
,
covars_make_baselines()
, and covars_make_pos()
,
returning them as a data.frame.
the data.frame of snippets x
with added variables. Note:
W_wl.Dale.Chall
is the proportion of words not in the Dale-Chall word list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.