koan: Sample a koan

Description Usage Arguments Value Examples

View source: R/koan.R

Description

Sample a koan

Usage

1
2
3
4
5
6
7
8
9
koan(collection = NULL, case = NULL, verbose = TRUE)

title(collection = NULL, case = NULL, verbose = TRUE)

main_case(collection = NULL, case = NULL, verbose = TRUE)

commentary(collection = NULL, case = NULL, verbose = TRUE)

capping_verse(collection = NULL, case = NULL, verbose = TRUE)

Arguments

collection

a data.frame, the koan collection to sample from. Default is NULL, which randomly selects a collection to pick from.

case

the case number. Default is NULL, which randomly selects a case.

verbose

logical. Should koan be printed to console?

Value

verboses a koan (or part of it) and invisibly returns either a tbl containing the text (koan()) or a character vector.

Examples

1

malcolmbarrett/koanr documentation built on May 28, 2019, 3:10 p.m.