instances_ids: Extract document id's from an InstanceList

instances_idsR Documentation

Extract document id's from an InstanceList

Description

Returns a vector of id's ("names") from an InstanceList, in the order MALLET keeps them in.

Usage

instances_ids(instances)

Arguments

instances

a reference to an InstanceList object (from read_instances or trainer$instances)

Value

a character vector of document ID's


agoldst/dfrtopics documentation built on July 15, 2022, 4:13 p.m.