mirror of
https://github.com/msberends/AMR.git
synced 2025-07-21 00:13:21 +02:00
(v2.1.1.9233) chore: make all argument texts full sentences
This commit is contained in:
@ -7,15 +7,15 @@
|
||||
age(x, reference = Sys.Date(), exact = FALSE, na.rm = FALSE, ...)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{Date(s), \link{character} (vectors) will be coerced with \code{\link[=as.POSIXlt]{as.POSIXlt()}}}
|
||||
\item{x}{Date(s), \link{character} (vectors) will be coerced with \code{\link[=as.POSIXlt]{as.POSIXlt()}}.}
|
||||
|
||||
\item{reference}{Reference date(s) (default is today), \link{character} (vectors) will be coerced with \code{\link[=as.POSIXlt]{as.POSIXlt()}}}
|
||||
\item{reference}{Reference date(s) (default is today), \link{character} (vectors) will be coerced with \code{\link[=as.POSIXlt]{as.POSIXlt()}}.}
|
||||
|
||||
\item{exact}{A \link{logical} to indicate whether age calculation should be exact, i.e. with decimals. It divides the number of days of \href{https://en.wikipedia.org/wiki/Year-to-date}{year-to-date} (YTD) of \code{x} by the number of days in the year of \code{reference} (either 365 or 366).}
|
||||
|
||||
\item{na.rm}{A \link{logical} to indicate whether missing values should be removed}
|
||||
\item{na.rm}{A \link{logical} to indicate whether missing values should be removed.}
|
||||
|
||||
\item{...}{Arguments passed on to \code{\link[=as.POSIXlt]{as.POSIXlt()}}, such as \code{origin}}
|
||||
\item{...}{Arguments passed on to \code{\link[=as.POSIXlt]{as.POSIXlt()}}, such as \code{origin}.}
|
||||
}
|
||||
\value{
|
||||
An \link{integer} (no decimals) if \code{exact = FALSE}, a \link{double} (with decimals) otherwise
|
||||
|
Reference in New Issue
Block a user