filter_to_rownames: Reduce by rownames

View source: R/matrixFunctions.R

filter_to_rownamesR Documentation

Reduce by rownames

Description

Reduce by rownames

Usage

filter_to_rownames(matrix, words)

Arguments

matrix

A matrix or VectorSpaceModel object

words

A list of rownames or VectorSpaceModel names

Value

An object of the same class as matrix, consisting of the rows that match its rownames.

Deprecated: use instead VSM[[c("word1","word2",...),average=FALSE]]


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