Just checking if last number of a string is equal or not.
Arguments
- cpr
Vector. cpr-numbers as ddmmyy"-."xxxx or ddmmyyxxxx. Also mixed formatting. Vector or data frame column.
Examples
cpr_female(stroke::cprs[,1])
#> Error in loadNamespace(x): there is no package called ‘stroke’