Skip to contents

Make a scatter plot of two columns

Usage

plot_scatter(
  data,
  colname_x,
  colname_y,
  title = "Scatter",
  xlab = "x",
  ylab = "y"
)

Arguments

data

data frame containing the columns

colname_x

name of column plotted on x-axis

colname_y

name of column plotted on y-axis

title

plot title

xlab

x-axis label

ylab

y-axis label

Value

recorded plot