messy: Messy

View source: R/messy.R

messyR Documentation

Messy

Description

Make a data frame messier.

Usage

messy(data, messiness = 0.1, missing = NA, case_type = "word")

Arguments

data

input dataframe

messiness

Percentage of values to change per function. Must be between 0 and 1. Default 0.1.

missing

A single value, vector, or list of what the missing values will be replaced with. If length is greater than 1, values will be replaced randomly. Default NA.

case_type

Whether the case should change based on the "word" or "letter".

Value

a dataframe the same size as the input data.

Examples

messy(mtcars)

messy documentation built on April 3, 2025, 6:16 p.m.