#' Combining mean, standard deviation and coefficient of variation
#'
#' This function combines mean, standard deviation and coefficient of variation to create reporting tables. This requires `dplyr` package.
#'
#' @param x numeric vector
#'
#' @export
#'
#' @examples
#' library(dplyr)
#' tabNCA(Theoph, dose=500, concUnit="mg/L") %>%
#' as.data.frame() %>%
#' summarise_all(meansdcv)
meansdcv <- function(x){
paste0(mean(x), "|", sd(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.