This 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
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.
df <- pmplots_data_id()
pm_scatter(
df,
x="WT//Weight (kg)",
y="HT//Height (cm)"
)