remove.duplicates: Remove duplicated strings from a vector

Description Usage Arguments Value

Description

A function to remove duplicated strings from a vector. In cases where the vector contains e.g. 100 tweets, after cleaning you may have made many duplicates (e.g. two tweets with the same content but different URLs become the same after cleaning). You may want to remove duplicates, depending upon your downstream tasks.

Usage

1
remove.duplicates(text.clean)

Arguments

text.clean

vector containing one or more strings (i.e. length is equal to or greater than 1)

Value

vector x with duplicated strings removed


bvidgen/tc documentation built on May 9, 2019, 2:21 a.m.