# Data Menu for Radiant: Business Analytics using R and Shiny

## Documentation for package ‘radiant.data’ version 0.8.1

- DESCRIPTION file.

## Help Pages

A C D E F G I K L M N P R S T V W X

radiant.data-deprecated-package | Deprecated function(s) in the radiant.data package
radiant.data-package | radiant.data

## -- A --

add_class | Convenience function to add a class
as_character | Wrapper for as.character
as_data_frame | Exporting as_data_frame
as_distance | Distance in kilometers or miles between two locations based on lat-long Function based on <URL: http://www.movable-type.co.uk/scripts/latlong.html>. Uses the haversine formula
as_dmy | Convert input in day-month-year format to date
as_dmy_hm | Convert input in day-month-year-hour-minute format to date-time
as_dmy_hms | Convert input in day-month-year-hour-minute-second format to date-time
as_duration | Wrapper for lubridate's as.duration function. Result converted to numeric
as_factor | Wrapper for factor with ordered = FALSE
as_hm | Convert input in hour-minute format to time
as_hms | Convert input in hour-minute-second format to time
as_integer | Convert variable to integer avoiding potential issues with factors
as_mdy | Convert input in month-day-year format to date
as_mdy_hm | Convert input in month-day-year-hour-minute format to date-time
as_mdy_hms | Convert input in month-day-year-hour-minute-second format to date-time
as_numeric | Convert variable to numeric avoiding potential issues with factors
as_tibble | Exporting as_tibble
as_ymd | Convert input in year-month-day format to date
as_ymd_hm | Convert input in year-month-day-hour-minute format to date-time
as_ymd_hms | Convert input in year-month-day-hour-minute-second format to date-time
avengers | Avengers

## -- C --

center | Center
changedata | Change data
ci_label | Labels for confidence intervals
ci_perc | Values at confidence levels
combinedata | Combine datasets using dplyr's bind and join functions
copy_all | Source all package functions
copy_attr | Copy attributes from on object to another
copy_from | Source for package functions
cv | Coefficient of variation

## -- D --

data_frame | Exporting data_frame
describe | Show dataset desription, if available, in html form in Rstudio viewer or default browser
dfprint | Deprecated function(s) in the radiant.data package
diamonds | Diamond prices
does_vary | Does a vector have non-zero variability?
dtab | Method to create datatables
dtab.explore | Make a tabel of summary statistics in DT
dtab.pivotr | Make a pivot tabel in DT

## -- E --

empty_level | Convert categorical variables to factors and deal with empty/missing values (used in pivotr and explore)
explore | Explore data

## -- F --

factorizer | Convert character to factors as needed
filterdata | Filter data with user-specified expression
find_dropbox | Find a user's dropbox folder
flip | Flip the DT table to put Function, Variable, or Group by on top
formatdf | Format a data.frame with a specified number of decimal places
formatnr | Format a number with a specified number of decimal places, thousand sep, and a symbol

## -- G --

getclass | Get variable class
getdata | Get data for analysis functions
getsummary | Create data.frame summary
glance | Exporting glance from broom

## -- I --

indexr | Find index corrected for missing values and filters
install_webshot | Install webshot and phantomjs
inverse | Calculate inverse of a variable
is_empty | Is a character variable defined
is_not | Convenience function for is.null or is.na
is_string | Is input a string?
iterms | Create a vector of interaction terms

## -- K --

kurtosi | Exporting the kurtosi function from the psych package

## -- L --

level_list | Generate list of levels and unique values
ln | Natural log
loadcsv | Load a csv file with read.csv and read_csv
loadcsv_url | Load a csv file with from a url
loadr | Load an rda or rds file and add it to the radiant data list (r_data) if available
loadrda_url | Load an rda file from a url

## -- M --

make_funs | Make a list of functions-as-formulas to pass to dplyr
make_train | Generate a variable used to selected a training sample
max_rm | Max with na.rm = TRUE
mean_rm | Mean with na.rm = TRUE
median_rm | Median with na.rm = TRUE
min_rm | Min with na.rm = TRUE
mode_rm | Mode with na.rm = TRUE
month | Add ordered argument to lubridate::month
mutate_each | Deprecated function(s) in the radiant.data package
mutate_ext | Add tranformed variables to a data frame (NSE)
mutate_if_tmp | Temporary fix for mutate_if when the predicate is false for all columns

## -- N --

normalize | Normalize a variable x by a variable y
nrprint | Deprecated function(s) in the radiant.data package
n_missing | Number of missing values

## -- P --

p05 | 5th percentile
p10 | 10th percentile
p25 | 25th percentile
p75 | 75th percentile
p90 | 90th percentile
p95 | 95th percentile
pivotr | Create a pivot table using dplyr
plot.character | Don't try to plot strings
plot.pivotr | Plot method for the pivotr function
print.gtable | Print/draw method for grobs produced by gridExtra
prop | Calculate proportion
publishers | Comic publishers

## -- R --

radiant.data | radiant.data
radiant.data-deprecated | Deprecated function(s) in the radiant.data package
refactor | Remove/reorder levels
register | Register a data.frame in the datasetlist in Radiant
render | Method to render objects (i.e., htmlwidgets and rmarkdown files)
render.character | Method to render rmarkdown documents
render.datatables | Method to render DT tabels
rounddf | Round double in a data.frame to a specified number of decimal places
rownames_to_column | Exporting rownames_to_column from tibble

## -- S --

saver | Save data.frame as an rda or rds file from Radiant
sdpop | Standard deviation for the population
sdprop | Standard deviation for proportion
sd_rm | Standard deviation with na.rm = TRUE
se | Standard error
Search | Search for a string in all columns of a data.frame
seprop | Standard error for proportion
set_attr | Alias used to add an attribute
show_duplicated | Show all rows with duplicated values (not just the first or last)
sig_stars | Add stars '***' to a data.frame (from broom's 'tidy' function) based on p.values
skew | Exporting the skew function from the psych package
square | Calculate square of a variable
sshh | Hide warnings and messages and return invisible
sshhr | Hide warnings and messages and return result
standardize | Standardize
store | Method to store variables in a dataset in Radiant
store.character | Method for error messages that a user tries to store
store.data.frame | Store method for the Data > View tab
store.explore | Store method for the explore function
store.pivotr | Store method for the pivort function
summary.explore | Summary method for the explore function
summary.pivotr | Summary method for pivotr
sum_rm | Sum with na.rm = TRUE
superheroes | Super heroes

## -- T --

table2data | Create data.frame from a table
tibble | Exporting tibble
tidy | Exporting tidy from broom
titanic | Survival data for the Titanic

## -- V --

varpop | Variance for the population
varprop | Variance for proportion
var_rm | Variance with na.rm = TRUE
viewdata | View data
visualize | Visualize data using ggplot2 <URL: http://docs.ggplot2.org/current/>

## -- W --

wday | Add ordered argument to lubridate::wday
weighted.sd | Weighted standard deviation
which.pmax | Returns the index of the (parallel) maxima of the input values
which.pmin | Returns the index of the (parallel) minima of the input values

## -- X --

xtile | Create a quintile (or decile) index