prep_data: Prepare data for scatter plot

Description Usage Arguments

View source: R/plot_helpers.R

Description

Pad out data if group and/or text are missing

Usage

1
prep_data(data, x, y, group, text, na.rm = TRUE)

Arguments

data

data frame.

x

x variable

y

y variable

group

Optional grouping vairiable

text

Optional text variable to show in hover info

na.rm

remove missing x/y observations.


MohoWu/ricardor documentation built on March 6, 2021, 4:17 p.m.