mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 06:30:48 +01:00
dplyr 0.8.0 support, fixes #7
This commit is contained in:
1 parent
b937662a97
commit
0b8084871d
29 files changed
+555
-479
No files matched your search
+4
-4
@@ -4,12 +4,12 @@
|
||||
\alias{age}
|
||||
\title{Age in years of individuals}
|
||||
\usage{
|
||||
age(x, y = Sys.Date())
|
||||
age(x, reference = Sys.Date())
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{date(s) - will be coerced with \code{\link{as.POSIXlt}}}
|
||||
\item{x}{date(s), will be coerced with \code{\link{as.POSIXlt}}}
|
||||
|
||||
\item{y}{reference date(s) - defaults to \code{\link{Sys.Date}} - will be coerced with \code{\link{as.POSIXlt}}}
|
||||
\item{reference}{reference date(s) (defaults to today), will be coerced with \code{\link{as.POSIXlt}}}
|
||||
}
|
||||
\value{
|
||||
Integer (no decimals)
|
||||
@@ -18,5 +18,5 @@ Integer (no decimals)
|
||||
Calculates age in years based on a reference date, which is the sytem time at default.
|
||||
}
|
||||
\seealso{
|
||||
age_groups
|
||||
\code{\link{age_groups}} to splits age into groups
|
||||
}
|
||||
Reference in new issue
Block a user