Commit 02d50660 authored by Jean-Marie Lepioufle's avatar Jean-Marie Lepioufle
Browse files

add information about number of NAs

parent d0e40a30
......@@ -49,6 +49,7 @@ basic_ <- function(df,target){
res <- df %>% summarise(
n = n(),
n_na = as.numeric(length(which(is.na(targ)))),
q_0 = as.numeric(stats::quantile(targ,probs=0,na.rm=TRUE)),
q_0_05 = as.numeric(stats::quantile(targ,probs=0.05,na.rm=TRUE)),
q_0_25 = as.numeric(stats::quantile(targ,probs=0.25,na.rm=TRUE)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment