2022-09-22 15:45:40 +02:00
|
|
|
% 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{
|
2022-09-26 13:59:05 +02:00
|
|
|
\item{cpr}{Vector. cpr-numbers as ddmmyy"-."xxxx or ddmmyyxxxx. Also mixed formatting. Vector or data frame column.}
|
2022-09-22 15:45:40 +02:00
|
|
|
}
|
|
|
|
\value{
|
|
|
|
Logical vector
|
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Just checking if last number of a string is equal or not.
|
|
|
|
}
|
|
|
|
\examples{
|
2022-09-26 13:59:05 +02:00
|
|
|
data(cprs)
|
|
|
|
cpr_female(cprs[,1])
|
2022-09-22 15:45:40 +02:00
|
|
|
}
|
|
|
|
\keyword{cpr}
|