quality_control: Check to make sure the data-set is appropriate for sdsmR.

Description Usage Arguments Value Examples

Description

This function is meant to replicate the quality control section of the SDSM tool. It takes in the data-frame you are hoping to use and verify that it has all the components needed to work with the other sdsmR functions

Usage

1
quality_control(dataframe)

Arguments

dataframe

The name you want to save the plots as. IE if your data comes from the blogsville data-set, you might want to call this "blogsville". If you want to save the plot in a different directory, just specify this in this name: "/home/blogsville" will save the plot's in the home directory.

Value

Either an error message specifying what went wrong or print statements verifying all of the components of your dataframe

Examples

1
2
3
4
5
# Check the Blogsville data-frame for errors
quality_control(blogsville)

# Remove the Date column and to return an error
quality_control(blogsville[, 2:5])

leerichardson/sdsmR documentation built on May 21, 2019, 1:39 a.m.