Learn R Programming

syuzhet (version 1.0.7)

get_percentage_values: Chunk a Text and Get Means

Description

Chunks text into 100 Percentage based segments and calculates means.

Usage

get_percentage_values(raw_values, bins = 100)

Value

A vector of mean values from each chunk

Arguments

raw_values

Raw sentiment values

bins

The number of bins to split the input vector. Default is 100 bins.