getReading: Get reading for day

Description Usage Arguments References Examples

Description

Gets the reading for a specific day in the reading plan

Usage

1
getReading(day = NULL, offset = 0)

Arguments

list

Character vector. Contains all the readings in the plan with each reading taking a different element in the vector.

day

numeric. The day in the reading plan to get the reading for

References

http://www.scribd.com/doc/12349985/Professor-Grant-Horners-Bible-Reading-System

Examples

1
2
3
sapply(readings, getReading, day = 29)
today <- sapply(readings, getReading, day = as.numeric(system("date +'%j'", intern = T)))
cat(paste(getReading(), collapse = "; "), "\n")

Dasonk/bible documentation built on May 6, 2019, 1:36 p.m.