Skip to contents

Plot rtriangular_dist distribution similar to how runif is plotted with the base plot function

Usage

# S3 method for class 'rtriangular_dist'
plot(x, ...)

Arguments

x

[rtriangular_dis]
An rtriangular_dist object

...

additional inputs (leave empty)

Value

A plot of the triangular distribution generated by rtriangular_dist (in the vain of plot(runif))

Examples

plot(rtriangular_dist(n = 1000L, lower = -1.0, mode = 0.0, upper = 1.0))