sub-sub-VectorSpaceModel-method: VectorSpaceModel subsetting

[[,VectorSpaceModel-methodR Documentation

VectorSpaceModel subsetting

Description

VectorSpaceModel subsetting

Usage

## S4 method for signature 'VectorSpaceModel'
x[[i, average = TRUE]]

Arguments

x

The object being subsetted.

i

A character vector: the words to use as rownames.

average

Whether to collapse down to a single vector, or to return a subset of one row for each asked for.

Value

A VectorSpaceModel of a single row.


bmschmidt/wordVectors documentation built on June 2, 2022, 3:53 p.m.