pm_scatter.RdThis function is primarily called by other functions.
pm_scatter is an alias to cont_cont and should be
used in production code. pm_scatter_list is a vectorized
form of pm_scatter.
pm_scatter(df, x, y, xs = defx(), ys = defy(), ...) pm_scatter_list(df, x, y, ...) cont_cont(df, x, y, xs = defx(), ys = defy(), ...)
| df | data frame to plot |
|---|---|
| x | character col//title for x-axis data; see |
| y | character col//title for y-axis data; see |
| xs | see |
| ys | see |
| ... |
pm_scatter returns a single plot;
pm_scatter_list returns a list of plots.
Since this function creates a scatter plot,
both the x and y columns must
be numeric.