Learn R Programming

eufmdis.adapt (version 0.1.0)

plot_distribution: Plot the distribution of a variable

Description

Creates a histogram of the value along with a horizontal boxplot above it to show the distribution of a variable.

Usage

plot_distribution(x, parameter, main = "")

Value

No return value. Creates a plot.

Arguments

x

A numeric vector

parameter

Character to use as label of the x-axis

main

(optional) character to use as plot title

Author

Ian Kopacka