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.


EmilHvitfeldt/ggpage documentation built on June 15, 2019, 8:31 a.m.