find_na: find_na

Description Usage Arguments Details Author(s) Examples

Description

Missing values, blank cells, and extraneous characters in your original CSV can become NA values when you import them into R. These NA values prevent the function loops from running. Run this function on them to see if there are any NA values present in your original CSV data; all NA values should be removed either in your original CSV file or in R itself.

Usage

1
find_na(raw_tests)

Arguments

raw_tests

Can take data with either one or two categorical factors

Details

Takes one data.frame structure at a time. Can be run on both test and control data.frames, but test group is more important since functions more dependent upon integrity of test data files.

Author(s)

Nicholas Sun <nicholas.sun@rutgers.edu>

Examples

1
2
3
raw_tests <- read.csv("raw_tests.csv")
raw_controls <- read.csv("raw_controls.csv")
find_na(raw_tests)

njjms/matchr documentation built on May 7, 2019, 3:15 p.m.