Skip to contents

Just checking if last number of a string is equal or not.

Usage

cpr_female(cpr)

Arguments

cpr

Vector. cpr-numbers as ddmmyy"-."xxxx or ddmmyyxxxx. Also mixed formatting. Vector or data frame column.

Value

Logical vector

Examples

cpr_female(stroke::cprs[,1])
#> Error in loadNamespace(x): there is no package called ‘stroke’