Skip to content

Commit 71bd049

Browse files
committed
Added example to clean_data
1 parent 1f6283b commit 71bd049

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

R/clean_data.R

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#' @importFrom readr read_csv2
1313
#'
1414
#' @export
15+
#' @example s
16+
#' \dontrun{
17+
#' clean_data("/data/bmarketing2.csv", target_var = "Y")
18+
#' }
1519
clean_data <- function(filename, target_var, na_threshold = 0.5, ...) {
1620
data <- suppressMessages(readr::read_csv(filename, ...))
1721

0 commit comments

Comments
 (0)