knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
We know data validation up front saves a headache later. Nevertheless, we sometimes find ourselves in situations where we don't have it. This package addresses messy height and weight data. I also include a function to check that observations fall within plausible values.
# install.packages("devtools") devtools::install_github("cecusack/clairecleans")
Please see the vignette for demonstrations on how to use fixheight, fixweight, and check_measure.
fixheight(dat, "height") fixweight(dat, "weight") check_measure(fake_data$edeq6_1,0,6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.