para_index {ggpage}R Documentation

paragraph split

Description

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

Usage

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.


[Package ggpage version 0.2.3 Index]