cpr_female {stRoke}R Documentation

Determine female sex from CPR

Description

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])

[Package stRoke version 23.9.1 Index]