Print JOYn report table
Usage
joyn_report(verbose = getOption("joyn.verbose"))
See also
Messages functions
clear_joynenv()
,
joyn_msg()
,
joyn_msgs_exist()
,
msg_type_dt()
,
store_msg()
,
style()
,
type_choices()
Examples
library(data.table)
x1 = data.table(id = c(1L, 1L, 2L, 3L, NA_integer_),
t = c(1L, 2L, 1L, 2L, NA_integer_),
x = 11:15)
y1 = data.table(id = 1:2,
y = c(11L, 15L))
d <- joyn(x1, y1, match_type = "m:1")
#>
#> ── JOYn Report ──
#>
#> .joyn n percent
#> 1 x 2 40%
#> 2 x & y 3 60%
#> 3 total 5 100%
#> ────────────────────────────────────────────────────────── End of JOYn report ──
#> ℹ Note: Joyn's report available in variable .joyn
#> ℹ Note: Removing key variables id from id and y
joyn_report(verbose = TRUE)
#>
#> ── JOYn Report ──
#>
#> .joyn n percent
#> 1 x 2 40%
#> 2 x & y 3 60%
#> 3 total 5 100%
#> ────────────────────────────────────────────────────────── End of JOYn report ──