#' naflex: Flexible Options for Handling Missing Values
#'
#' The \code{naflex} package provides additional flexibility for handling
#' missing values in summary functions beyond the two extreme options
#' (\code{na.rm = TRUE/FALSE}) available in base R.
#'
#' Most summary functions in R e.g. \code{mean} provide the option for the two
#' extremes:
#' \itemize{
#' \item calculate the summary ignoring all missing values, \code{na.rm = TRUE},
#' or
#'
#' \item require no missing values for the summary to be calculated,
#' \code{na.rm = FALSE}
#' }
#' In many applications something in between these two extremes is often
#' appropriate. For example, you may wish to give a summary statistic if less
#' than 5\% of values are missing.
#'
#' \code{naflex} provides helper functions to facilitate this flexibility for
#' dealing with missing values, particularly within summary functions.
#'
#' In particular \code{naflex} provides four types of missing value checks:
#' \itemize{
#' \item a maximum proportion of missing values allowed
#' \item a maximum number of missing values allowed
#' \item a maximum number of consecutive missing values allowed, and
#' \item a minimum number of non-missing values required.
#' }
#'
#' These checks can be used individually or in combination with each other
#' within summary functions.
#' @docType package
#' @name naflex
"_PACKAGE"
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.