Plot Empirical Cummulative Distribution Function for xvar
ecdfgram(
data,
xvar,
grpvar = NULL,
trans = scales::identity_trans(),
xaxis_n_breaks = 7,
xaxis_title = "",
yaxis_title = "Cummulative Frequency",
xaxis_format_args = list()
)
data to plot
xvar to plot
var to group the data by
transformation to apply from the scales
package
number of breaks on the x_axis
x axis title
y axis title
#TODO
a plotly object
ecdfgram(ggplot2::diamonds, price, color)