# Return plot for whole organization
create_hist(pq_data, metric = "Collaboration_hours", hrvar = NULL)
# Return plot
create_hist(pq_data, metric = "Collaboration_hours", hrvar = "Organization")
# Return plot but coerce plot to 3 columns
create_hist(pq_data, metric = "Collaboration_hours", hrvar = "Organization", ncol = 3)
# Return summary table
create_hist(pq_data, metric = "Collaboration_hours", hrvar = "Organization", return = "table")
Run the code above in your browser using DataLab