wpa/man/comma.Rd

21 строка
491 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/supporting_functions.R
\name{comma}
\alias{comma}
\title{Add comma separator for thousands}
\usage{
comma(x)
}
\arguments{
\item{x}{A numeric value}
}
\value{
Returns a formatted string.
}
\description{
Takes a numeric value and returns a character value
which is rounded to the whole number, and adds a comma
separator at the thousands. A convenient wrapper function
around \code{round()} and \code{format()}.
}