You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' Cumulative Mean#' #' @family Vector Function#' #' @author Steven P. Sanderson II, MPH#' #' @details#' A function to return the cumulative mean of a vector. It uses [dplyr::cummean()]#' as the basis of the function.#' #' @description #' A function to return the cumulative mean of a vector.#' #' @parm .x A numeric vector#' #' @examples #' x <- mtcars$mpg#' #' cmean(x)#' #' @return #' A numeric vector#' #' @export#' cmean<-function(.x){
dplyr::cummean(.x)
}
Function:
Example:
The text was updated successfully, but these errors were encountered: