Frequency_Plot_Function: Frequency Barplot Function

Description Usage Arguments Author(s) Examples

Description

This function creates a frequency barplot from a vector.

Usage

1
freq.plot(x, xtitle, ytitle, mtitle,...)

Arguments

x

The vector for which you want to create a frequency barplot

xtitle

Title for the x-axis of the frequency barplot. The default title is "x-axis".

ytitle

Title for the y-axis of the frequency barplot. The default title is "y-axis"

mtitle

Main title for the frequency barplot. The default title is "main title"

...

Additional arguments passed to the barplot function

Author(s)

Alexis Zavez

Examples

1
2
3
data(sample.data)
days <- sample.data$Day
freq.plot(days, "", "Number of Visits", "Distribution of Visits by Day of Week")

azavez/azavezHW6 documentation built on May 11, 2019, 5:16 p.m.