gaussfacts (version 0.0.2)

gaussfact: Display a Random Fact about Carl Friedrich Gauss

Description

Function to display a randomly chosen fact about Carl Friedrich Gauss

Usage

gaussfact(ind)
"print"(x, width = NULL, ...)

Arguments

ind
Optional index of a quote; if missing a random value is sampled
x
Default object for print method
width
Optional column width parameter
...
Other optional arguments

Value

A character vector containing one randomly selected line from the included file. It is of class gaussfact for which an S3 print method will be invoked.

Details

This function displays a randomly chosen line from the included data set of of random ‘facts’ about Carl Friedrich Gauss. It is based on corpus curated by Mike Cavers via the http://gaussfacts.com site, and kindly made available.

See Also

fortune, rmsfact

Examples

Run this code
  set.seed(123)
  gaussfact()

Run the code above in your browser using DataCamp Workspace