str(cad_pvb) # built-in data
view_table(data = cad_pvb, test = "T", disease = "D") # without unverified observations
view_table(data = cad_pvb, test = "T", disease = "D", show_total = TRUE)
# also with total observations by test result
view_table(data = cad_pvb, test = "T", disease = "D", show_unverified = TRUE)
# with unverified observations
view_table(data = cad_pvb, test = "T", disease = "D", show_unverified = TRUE,
show_total = TRUE) # also with total observations by test result
Run the code above in your browser using DataLab