Prepare ggplot by groups

gg_group(.data, x, y, g)

Arguments

.data

data contains variables

x

x-axis

y

y-axis

g

grouping variabe