mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-24 13:41:55 +01:00
23 lines
477 B
R
23 lines
477 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/cpr_tools.R
|
|
\name{cpr_female}
|
|
\alias{cpr_female}
|
|
\title{Determine female sex from CPR}
|
|
\usage{
|
|
cpr_female(cpr)
|
|
}
|
|
\arguments{
|
|
\item{cpr}{Vector. cpr-numbers as ddmmyy"-."xxxx or ddmmyyxxxx.
|
|
Also mixed formatting. Vector or data frame column.}
|
|
}
|
|
\value{
|
|
Logical vector
|
|
}
|
|
\description{
|
|
Just checking if last number of a string is equal or not.
|
|
}
|
|
\examples{
|
|
cpr_female(stRoke::cprs[,1])
|
|
}
|
|
\keyword{cpr}
|