print.selection {CALIBERcodelists} | R Documentation |
Prints to the screen the codes included in a selection that are from
dictionaries currently in use (according to getdictionary
).
## S3 method for class 'selection' print(x, ...) ## S3 method for class 'selection' length(x)
x |
a selection object. |
... |
other arguments to print.selection. |
S3 method for the 'selection' class, a list of (Read, OPCS and/or ICD-10)
terms selected from the CALIBER_DICT
dictionary, stored as a logical vector with the
same length as the number of rows in CALIBER_DICT.
print.selection
returns the selection, invisibly.
length.selection
returns the number of terms in the selection, that are in one of the dictionaries in use.
setdictionary('read') myselection <- termhas('angina') myselection