getWidths: Helper function to account for issues plotly has with very...

View source: R/functions.R

getWidthsR Documentation

Helper function to account for issues plotly has with very small widths (these end up being 1 and cover the entire plotting area)

Description

Helper function to account for issues plotly has with very small widths (these end up being 1 and cover the entire plotting area)

Usage

getWidths(df2, facets, x_var, drop = TRUE)

Arguments

df2

dataframe storing plotting data

facets

column facets

x_var

x variable

drop

passed on as .drop to dplyr::group_by

Value

widths for each facet


zoecastillo/microbiomeExplorer documentation built on Sept. 11, 2022, 7:40 a.m.