Skip to contents

Glimpse S3 method for metadata from chronogram objects (class cg_tbl)

Usage

glimpse_metadata(x, width = NULL, ...)

# S3 method for class 'cg_tbl'
glimpse_metadata(x, width = NULL, ...)

Arguments

x

a chrongram

width, ...

passed to pillar::glimpse

Value

print to console

See also

Examples

data("built_smallstudy")
cg <- built_smallstudy$chronogram
glimpse_metadata(cg)
#> Metadata
#> Rows: 1,947
#> Columns: 6
#> $ age         <dbl> 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40…
#> $ sex         <fct> F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F…
#> $ dose_1      <fct> AZD1222, AZD1222, AZD1222, AZD1222, AZD1222, AZD1222, AZD1…
#> $ date_dose_1 <date> 2021-01-05, 2021-01-05, 2021-01-05, 2021-01-05, 2021-01-0…
#> $ dose_2      <fct> AZD1222, AZD1222, AZD1222, AZD1222, AZD1222, AZD1222, AZD1…
#> $ date_dose_2 <date> 2021-02-05, 2021-02-05, 2021-02-05, 2021-02-05, 2021-02-0…