Learn R Programming

OmopSketch (version 0.3.2)

tableObservationPeriod: Create a visual table from a summariseObservationPeriod() result.

Description

Create a visual table from a summariseObservationPeriod() result.

Usage

tableObservationPeriod(result, type = "gt")

Value

A gt or flextable object with the summarised data.

Arguments

result

A summarised_result object.

type

Type of formatting output table, either "gt" or "flextable".

Examples

Run this code
# \donttest{
cdm <- mockOmopSketch(numberIndividuals = 100)

result <- summariseObservationPeriod(cdm$observation_period)

tableObservationPeriod(result)

PatientProfiles::mockDisconnect(cdm)
# }

Run the code above in your browser using DataLab