Learn R Programming

stevemisc (version 1.8.0)

jenny: Set the Only Reproducible Seed That Matters

Description

jenny() sets a reproducible seed of 8675309. It is the only reproducible seed you should use.

Usage

jenny(x = 8675309)

Value

When x is not specified or is 8675309, the function sets a reproducible seed of 8675309 and returns a nice message congratulating you for it. If x is not 8675309, the function sets no reproducible seed and gently admonishes you for wasting its time.

Arguments

x

a vector

Details

jenny() comes with some additional perks if you have the emo package installed. The package is optional.

Examples

Run this code

jenny() # will work and reward you for it
jenny(12345) # will not work and will result in a stern message

Run the code above in your browser using DataLab