View source: R/tableInObservation.R
| tableInObservation | R Documentation |
tableInObservation(result, type = "gt")
result |
A summarised_result object (output of
|
type |
Type of formatting output table. See
|
A formatted table visualisation.
library(OmopSketch)
library(dplyr, warn.conflicts = FALSE)
library(omock)
cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb")
result <- summariseInObservation(
observationPeriod = cdm$observation_period,
interval = "years",
output = c("person-days", "record"),
ageGroup = list("<=60" = c(0, 60), ">60" = c(61, Inf)),
sex = TRUE
)
result |>
tableInObservation()
cdmDisconnect(cdm = cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.