#' @title Functions to help reporting churn
#'
#' @description Enable na deletion based in a given set of columns
#'
#' @param df, c, var.
#'
#' @return Filtered data, without na on certain columns
#'
#' @examples
#'
#' @export completeFun
completeFun <- function(data, desiredCols) {
completeVec <- complete.cases(data[, desiredCols])
return(data[completeVec, ])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.