get_instance | R Documentation |
A convenience function that pulls out a single (document) from an InstanceList using its id. Again mostly useful for inspecting the results of stopwording, etc.
get_instance(instances, id, id_map = instances_ids(instances))
instances |
a reference to an |
id |
a document id |
id_map |
map from instance index to id's, to match against |
To subscript an InstanceList by position, use its own accessor:
instances$get(3L)
. The index is zero-based and must be an integer (not
numeric).
reference to a MALLET Instance
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.