conv_hep_con_partres: Convert concurrent partial resections to integer

conv_hep_con_partresR Documentation

Convert concurrent partial resections to integer

Description

Convert concurrent partial resections to integer

Usage

conv_hep_con_partres(vec)

Arguments

vec

a character vector of values to convert

Details

NSQIP encodes anyone with more than 10 concurrent partial resections as "10 or more". This converts all "10 or more" to 10. If given NA, will return NA.

Value

an integer vector

Examples

nsqipr:::conv_hep_con_partres(c("1","2","10 or more",NA))


dylanrussellmd/nsqipr documentation built on Oct. 13, 2023, 11:01 a.m.