Learn R Programming

explore (version 1.3.4)

create_data_esoteric: Create data esoteric

Description

Random data that can be used for unit-testing or teaching

Usage

create_data_esoteric(obs = 1000, add_id = FALSE, seed = 123)

Value

A dataset as tibble

Arguments

obs

Number of observations

add_id

Add an id-variable to data?

seed

Seed for randomization

Details

Variables in dataset:

  • id = Identifier

  • starsign = random starsign

  • chinese = random chinese zodiac

  • moon = random moon phase

  • blood = random blood type

  • fingers_crossed = random fingers crossed (1 = yes, 0 = no)

  • success = random success (1 = yes, 0 = no)

Examples

Run this code
create_data_esoteric(obs = 100)

Run the code above in your browser using DataLab