plot_distribution: Quik Histogram Plot

View source: R/plot_distribution.R

plot_distributionR Documentation

Quik Histogram Plot

Description

This function is a wrapper of ggplot2::geom_histogram(), usually used to check the distribution of game scores or academic scores. If group is assigned, it will plot the distribution by groups (usually game_name or subject_name).

Usage

plot_distribution(data, x = game_score_raw, group = NULL, bins = 50)

Arguments

data

Data.frame, the data

x

Unquoted expression, colname of the observation value, default game_score_raw

group

Formula, indicate the facet variables

bins

Numerical, how much bins are used in geom_histogram, default 50

Value

a ggplot object


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