fc_view | R Documentation |
This function allows you to return either the data stored in '$data' or the flowchart information stored in '$fc'.
fc_view(object, what)
object |
fc object that we want to access. |
what |
Choose "data" to return the data associated to the flowchart stored in '$data' or "fc" to return the flowchart information stored in '$fc'. |
Returns a tibble. Either '$data' or '$fc'.
#Return the data associated to the flowchart
safo |>
as_fc(label = "Patients assessed for eligibility") |>
fc_filter(!is.na(group), label = "Randomized", show_exc = TRUE) |>
fc_view("data")
#Return the flowchart information
safo |>
as_fc(label = "Patients assessed for eligibility") |>
fc_filter(!is.na(group), label = "Randomized", show_exc = TRUE) |>
fc_view("fc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.