Nothing
#' @title
#' Specify Decimals.
#'
#' @description
#' Specify the number of decimals to print.
#'
#' @details
#' [INSERT].
#'
#' @param x Numeric vector.
#' @param k Number of decimals to print.
#'
#' @return Character vector of numbers with the specified number of decimal
#' places.
#'
#' @importFrom stringr str_trim
#' @importFrom stats rnorm
#'
#' @export
#'
#' @examples
#' # Prepare Data
#' v1 <- rnorm(1000)
#'
#' # Specify Decimals
#' specify_decimal(v1, 2)
specify_decimal <- function(x, k) str_trim(format(round(x, k), nsmall = k))
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.