medcodeis {CALIBERcodelists}R Documentation

Select Read codes with particular medcode(s)

Description

Selects Read codes with a particular medcode(s).

Usage

medcodeis(medcodes = integer(0))

Arguments

medcodes

A vector of medcodes to extract.

Value

A selection object.

See Also

as.codelist, assigncat, dictis, explode, getdictionary, setdictionary, termhas

To convert codelists from one dictionary to another: convert

Examples

## Selecting a particular medcode or list of medcodes
setdictionary('read')
print(medcodeis(1:10))

[Package CALIBERcodelists version 0.2-11 Index]