example: example

Description Usage Format Note Author(s)

Description

A data set generated randomly from a python script meant to serve as an example for any type of data – including both categorical, quantitative and continuous (i.e. decimal) variables.

Usage

1
data("example")

Format

A dataframe with 200 rows and 7 columns.

X

A generic, integer X variable.

Y

A generic, integer Y variable. Note that this differs from the X variable, although they do share some overlap in their domains.

Z

A generic, integer Z variable. Note that this differs from X and Y, although it's domain has some overlap with X and Y.

Name

A generic string variable that is one of five possible names. If one of c("Gordon", "Thomas", "Philipp", "Nugent", "Frank").

Media

The string name of a social media platform. It may be one of 8 possible values from c("Snapchat", "Google", "Vine", "Facebook", "Twitter", "LinkedIn", "Instagram", "Youtube").

Rating

A string letter grade rating. Note that this may be considered to be a factor with levels of ("A", "B", "C", "D", "F").

Note

This wsas randomly generated data from the file make-random.py. This can be found in the data-raw/Random Example Data/ folder.

This is intended for example purposes, offering each kind of data.

The documentation does not auto-update. If one changes the base file, this documentation will no longer remain accurate.

Author(s)

Frank Kovacs fkovacs@cmu.edu


frank113/cmu202 documentation built on July 17, 2020, 9:31 p.m.