View source: R/np_data_processing.R
dataFlightCheck | R Documentation |
Formats and cleans data prior to setting up the plotting enviroment
dataFlightCheck(data, by, flipFacts, na.rm = FALSE)
data |
vector or dataframe; data to be plotted |
by |
factor or dataframe; factors to be used to format data |
flipFacts |
logical; If a dataframe is used for plotting data input, this will covert the data to a vector with the dataframe colums trasfered a factor in the second column of the |
na.rm |
logical; Removes all data and factor rows were |
This funciton makes sure the data
input is a numeric vector or a data frame of numeric vectors.
It will also check to make sure by
is a factor or a dataframe of factors. If requested, it will also remove missing data and rearrage numeric dataframe inputs.
A named list with d=data
and b=by
.
todo<-1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.