fixheight: Wrangle height data

View source: R/fixheight.R

fixheightR Documentation

Wrangle height data

Description

Wrangle height data

Usage

fixheight(df, var)

Arguments

df

A dataframe.

var

Column name containing messy height data.

Value

  • Your dataframe containing a new column with fixed heights, named height.

  • A new dataframe titled heightflag that contains rows with heights that should be investigated for plausible values, errors, etc.

Examples

fixheight(dat, "height")
fixheight(fake_data, "demo_9")

cecusack/clairecleans documentation built on Dec. 14, 2024, 3:27 a.m.