stoicfortune: Stoic R Fortunes

Description Usage Arguments Examples

Description

Read and print stoic maxims as R fortunes.

Usage

1
stoicfortune(which = NULL, fortunes.data = NULL, fixed = TRUE, ...)

Arguments

which

An integer specifying the row number of fortunes.data. Alternatively which can be a character and grep is used to try to find a suitable row.

fortunes.data

A data frame containing a fortune in each row. By default the fortune data from the tsfortune package are used.

fixed

logical passed to grep if which is a character, indicating if it should work (if TRUE, as by default) with a simple character string or (if FALSE) with regular expressions.

...

potential further arguments passed to grep.

read.fortunes() returns a data frame of fortunes, each row contains:

Examples

1

MarcoDVisser/stoicfortunes documentation built on May 7, 2019, 2:49 p.m.