Learn R Programming

icd (version 3.3)

guess_version_update: Guess version of ICD and update class

Description

Guesses the version of given ICD codes and sets the class of the returned data according to the guess.

Usage

guess_version_update(x, short_code = guess_short(x))

Arguments

x

vector of ICD codes of some type

short_code

single logical value which determines whether the ICD-9 code provided is in short (TRUE) or decimal (FALSE) form. Where reasonable, this is guessed from the input data.

Value

the input data with appropriate ICD class set