cent_disp | R Documentation |
This function returns a character vector with mean and sd or median and iqr as a inline summary statistics for reports or articles in R markdown or plain text.
cent_disp(
x,
type = if (is.null(str.a)) "auto" else "custom",
str.a = NULL,
k = 1,
markdown = TRUE
)
x |
Numeric vector. |
type |
To choose a parametric ( |
str.a |
Works only when |
k |
Number of decimals. |
markdown |
Whether you want the output formated for inline R markdown (TRUE) or as plain text (FALSE). |
A character vector of length one.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.