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