25 lines
587 B
R
25 lines
587 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/utils.R
|
|
\name{pretty_count}
|
|
\alias{pretty_count}
|
|
\title{Prettify count data
|
|
Make integers propertly formatted as strings which include commas suitable for printing}
|
|
\usage{
|
|
pretty_count(x)
|
|
}
|
|
\arguments{
|
|
\item{x}{a numeric vector}
|
|
}
|
|
\value{
|
|
a character vector with commas introduced in place positions in the numbers
|
|
}
|
|
\description{
|
|
Prettify count data
|
|
Make integers propertly formatted as strings which include commas suitable for printing
|
|
}
|
|
\examples{
|
|
pretty_count(10)
|
|
pretty_count(1000)
|
|
pretty_count(1e8)
|
|
}
|