neigh: Generate a string from a horse object

Description Usage Arguments Value Author(s)

Description

This function generates strings from horse objects. Once the transition matrix has been found for your corpus (e.g. using get_tweets you can use the resulting horse object (generated by make_horse) to generate new strings.

Usage

1
neigh(horse.obj, length = 140)

Arguments

horse.obj

a horse object containing the transition matrix for the Markov chain.

length

maximum length for the resulting string (default 140).

Value

a string of length length.

Author(s)

David L. Miller


dill/horse documentation built on May 15, 2019, 8:29 a.m.

Related to neigh in dill/horse...