plot_freq: Plot Factors by Frequency

plot_freqR Documentation

Plot Factors by Frequency

Description

https://stackoverflow.com/questions/46862482/plot-a-descending-frequency-bar-chart-using-a-custom-function-with-ggplot2-dply

Usage

plot_freq(data, group, n = 10)

Arguments

data

a data frame

group

a variable of factors

n

how many to print into the ggplot graph

Value

a ggplot graph object


McCartneyAC/mccrr documentation built on March 24, 2024, 5:12 p.m.