plot_scatter: Quick Scatter Plot

View source: R/plot_scatter.R

plot_scatterR Documentation

Quick Scatter Plot

Description

This function is a wrapper of ggplot2::geom_point(), usually used to check the scatter distribution of game scores and academic scores, correlation will be calculate if specified

Usage

plot_scatter(
  data,
  x = game_score_raw,
  y = acd_score,
  group = NULL,
  cor = FALSE
)

Arguments

data

Data.frame, the data

x, y

Unquoted expression, colname of the observation value

group

Formula, indicate the facet variables

cor

Logical, indicate whether plot correlation or not

Value

a ggplot object


Blockhead-yj/report.iqz documentation built on March 18, 2022, 5:30 a.m.