This function gives general statistics for a character
vector, e.g. obtained by loading a text file with the
function, where each text line' is represented by a
character vector to be aggregated
Any of the strings must not contain
\n characters, otherwise you will get at error.
Below by 'white space' we mean the Unicode binary property
Returns an integer vector with the following named elements:
Lines - number of lines
(number of non-missing strings in the vector);
LinesNEmpty - number of lines with at least one
total number of Unicode code points detected;
CharsNWhite - number of Unicode code points that are
... (Other stuff that may appear in future releases of stringi).
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.