-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.Rmd
46 lines (30 loc) · 1.46 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
[](https://cran.r-project.org/package=meditations.png)
[](https://travis-ci.org/jacobkap/meditations)
[](https://ci.appveyor.com/project/jacobkap/meditations)
[](https://codecov.io/github/jacobkap/meditations?branch=master)
[](https://cran.r-project.org/package=meditations)
# Overview
View the wisdom of Marcus Aurelius through his quotes from his book Meditations.
## Installation
You can install meditations from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("jacobkap/meditations")
```
## Example
This is how to use this simple package. `meditations()` will print a random quote from the book.
```{r example}
meditations::meditations()
```
Choose a number between 1 and 507 (there are only 507 quotes) and it will print that specific quote(s).
```{r}
meditations::meditations(5)
```
You can get the vector of all 507 quotes by
```{r}
data("meditations_quotes")
```