Skip to content

Commit

Permalink
eda func documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pan1fan2 committed Mar 6, 2021
1 parent 6fef5c8 commit 649d20d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions R/eda.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#' Run a quick EDA analysis
#'
#' @param df dataframe
#' @param target character
#'
#' @return (list) List that contains statistical summaries and a pairplot.
#' @export
#'
#' @examples
#' result <- eda(mtcars)
#' nb_num_feat <- result$nb_num_features
#' nb_cat_feat <- result$nb_cat_features
#' ls_cat_feat <- result$cat_features
#' ls_num_feat <- result$num_features
#' nb_class<- result$nb_classes
#' pair_plot <- result$pairplot
eda <- function(df, target){
}

0 comments on commit 649d20d

Please sign in to comment.