Skip to content

Commit

Permalink
Merge pull request #10 from UBC-MDS/eda
Browse files Browse the repository at this point in the history
eda func documentation
  • Loading branch information
jachang0628 authored Mar 6, 2021
2 parents 6fef5c8 + 649d20d commit 4e001c4
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 4e001c4

Please sign in to comment.