para_index: paragraph split

Description Usage Arguments Details Value

Description

Converts a word vector into a line vector with variable paragraph lengths.

Usage

1
para_index(n, FUN, ...)

Arguments

n

Numeric. Numbers of words.

FUN

Numeric. how many words to split whole string by.

...

Extra arguments.

Details

FUN most be a function that takes in a number n and returns a vector of natural numbers.

Value

Numeric. paragraph indicator.


ggpage documentation built on June 14, 2019, 1:02 a.m.