num_elements.coded_vec | R Documentation |
Returns the number of elements in an object.
For an object of class vec
, this will be the length of the vector.
For an object of class corpus
,
this will be the sum of the lengths of its constituent sequences.
## S3 method for class 'coded_vec'
num_elements(x)
## S3 method for class 'corpus'
num_elements(x)
num_elements(x)
## S3 method for class 'vec'
num_elements(x)
x |
Object to analyse. |
The size of x
, as an integer scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.