| explore_data | R Documentation | 
Helps to explore data in either visual or tabular form. The view can also be one or two-dimensional.
explore_data(setup, type = c("visual", "tabular"), factors = NULL, by = NULL)
setup | 
 Setup object. Created at the start of the workflow. Usually piped in from previous step.  | 
type | 
 Character scalar. Either   | 
factors | 
 Character vector. Names of selected potential predictors to limit the scope of results.  | 
by | 
 Character scalar. Name of potential predictor that will constitute the second dimension.  | 
Either list of dataframes or list of ggplot2 charts.
explore_target, explore_corr
require(dplyr) # for the pipe operator
data('sev_train')
setup <- setup(
  data_train = sev_train,
  target = 'sev',
  weight = 'numclaims',
  family = 'gamma',
  keep_cols = c('pol_nbr', 'exposure', 'premium')
)
explore_data(setup, type = "tabular")
explore_data(setup, type = "visual")
explore_data(setup, type = "tabular", by = "pol_yr")
explore_data(setup, type = "visual", by = "pol_yr")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.