unique.SNOMEDconcept {Rdiagnosislist} | R Documentation |
Unique vector of SNOMED CT concepts
Description
SNOMEDconcept is an S3 class for vectors of SNOMED concept IDs as 64-bit integers. This function returns a vector containing only unique SNOMEDconcept values.
Usage
## S3 method for class 'SNOMEDconcept'
unique(x, ...)
Arguments
x |
SNOMEDconcept vector |
... |
other variables to pass on to the underlying 'unique' function |
Value
SNOMEDconcept vector with duplicates removed
See Also
Other SNOMEDconcept functions:
as.data.frame.SNOMEDconcept()
,
c.SNOMEDconcept()
,
is.SNOMEDconcept()
,
print.SNOMEDconcept()
,
union.SNOMEDconcept()
Examples
hf <- SNOMEDconcept('Heart failure', SNOMED = sampleSNOMED())
hf2 <- c(hf, hf)
unique(hf2)
[Package Rdiagnosislist version 1.2 Index]