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{
|
2023-01-11 12:54:08 +01: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-12-06 14:42:15 +01:00
|
|
|
cpr_female(stRoke::cprs[,1])
|
2022-09-22 15:45:40 +02:00
|
|
|
}
|
|
|
|
\keyword{cpr}
|