make_scatter_plot1: Scatter Plot for Numeric Vars

View source: R/see_num_vars.R

make_scatter_plot1R Documentation

Scatter Plot for Numeric Vars

Description

Create a scatter plot to examine relationship between two numeric variables.

Usage

make_scatter_plot1(data, num_var1, num_var2, trend = "lm", label_fmt = TRUE)

Arguments

data

dataset that contains the variables

num_var1

name of the numeric variable as a string

num_var2

name of the numeric variable as a string

trend

string represents smoothing method to use

label_fmt

Boolean to indicate whether plot labels should be formatted

Value

none

Examples

make_scatter_plot1(ggplot2::diamonds, "carat", "price")

sarazong/SZRtools documentation built on Feb. 8, 2024, 6:49 a.m.