fixweight: Wrangle weight data

View source: R/fixweight.R

fixweightR Documentation

Wrangle weight data

Description

Wrangle weight data

Usage

fixweight(df, var)

Arguments

df

A dataframe.

var

Column name containing messy weight data.

Value

  • Your dataframe containing a new column with fixed weights, named weight.

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

Examples

fixheight(dat, "weight")
fixheight(fake_data, "demo_10")

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