Learn R Programming

omopgenerics (version 1.1.1)

print.conceptSetExpression: Print a concept set expression

Description

Print a concept set expression

Usage

# S3 method for conceptSetExpression
print(x, ...)

Value

Invisibly returns the input

Arguments

x

A concept set expression

...

Included for compatibility with generic. Not used.

Examples

Run this code
asthma_cs <- list(
  "asthma_narrow" = dplyr::tibble(
    "concept_id" = 1,
    "excluded" = FALSE,
    "descendants" = TRUE,
    "mapped" = FALSE
  ),
  "asthma_broad" = dplyr::tibble(
    "concept_id" = c(1, 2),
    "excluded" = FALSE,
    "descendants" = TRUE,
    "mapped" = FALSE
  )
)
asthma_cs <- newConceptSetExpression(asthma_cs)
print(asthma_cs)

Run the code above in your browser using DataLab