searchXKCD: Search your favorite XKCD comic strip by title/trascript

Description Usage Arguments Value References Examples

View source: R/getXKCD.R

Description

This function use grep to inspect the title and trascript for all the occurrences of a specified string and return a data.frame with both the number and the title of the XKCD comic strips.

Usage

1
  searchXKCD(which = "significant")

Arguments

which

string.

Value

a data.frame containing the following fields:

References

http://xkcd.com/license.html

Examples

1
2
3
4
5
6
## Not run: 
library("RXKCD")
searchXKCD(which="significant")
searchXKCD(which="someone is wrong")

## End(Not run)

Example output

    num                        title
1   539                    Boyfriend
2   977              Map Projections
3  1043                  Ablogalypse
4  1126             Epsilon and Zeta
5  1140 Calendar of Meaningful Dates
6  1285                    Third Way
7  1356            Orbital Mechanics
8  1403               Thesis Defense
9  1478                     P-Values
10  882                  Significant
  num      title
1 386 Duty Calls

RXKCD documentation built on May 2, 2019, 5:39 p.m.

Related to searchXKCD in RXKCD...