slopeFinder: Slope finder

Description Usage Arguments Details Value See Also Examples

View source: R/functions.R

Description

Reports the fit of alternative emotional arcs to a document and the best fitting canonical story type.

Usage

1
slopeFinder(emoDF)

Arguments

emoDF

A document in the form of an EMO dataframe

Details

The output tibble contains estimates of the linear slope and estimate, R2 for the linear and sinusoidal fit, the highest R2 achieved and the most appropriate category/story type

Value

Outputs a tibble of one row reporting the best fitting story type.

See Also

tidy,glance syms

Examples

1
2
3
4
5
6
## Not run: 
if (interactive()) {
  # EXAMPLE1
}

## End(Not run)

DataStrategist/thePlotThickens documentation built on May 23, 2021, 1:02 p.m.