## ----include = FALSE---------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ----setup-------------------------------------------------------------------- library(omock) ## ----------------------------------------------------------------------------- cdm <- mockCdmReference() |> mockPerson(nPerson = 100) |> mockObservationPeriod() |> mockCohort( name = "omock_example", numberCohorts = 2, cohortName = c("omock_cohort_1", "omock_cohort_2") ) cdm