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