mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-10-30 03:11:52 +01:00
24 lines
536 B
Plaintext
24 lines
536 B
Plaintext
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/cpr_tools.R
|
||
|
\name{cpr_check}
|
||
|
\alias{cpr_check}
|
||
|
\title{CPR check}
|
||
|
\usage{
|
||
|
cpr_check(cpr)
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{cpr}{cpr-numbers as ddmmyy\link{-.}xxxx or ddmmyyxxxx. Also mixed formatting. Vector or data frame column.}
|
||
|
}
|
||
|
\value{
|
||
|
Logical vector
|
||
|
}
|
||
|
\description{
|
||
|
Checking validity of cpr number. Vectorised.
|
||
|
}
|
||
|
\examples{
|
||
|
fsd<-c("2310450637", "010115-4000", "0101896000","010189-3000","300450-1030","010150-4021")
|
||
|
cpr_check(fsd)
|
||
|
all(cpr_check(fsd))
|
||
|
}
|
||
|
\keyword{cpr}
|