plot.RVsim: Plot a simulated random vector

Description Usage Arguments Examples

View source: R/discreteRV-Simulations.r

Description

Plot a simulated random vector

Usage

1
2
## S3 method for class 'RVsim'
plot(x, ...)

Arguments

x

A simulated data vector produced with the 'rsim()' function

...

Additional arguments to be passed to the 'plot()' function

Examples

1
2
3
4
X <- RV(c(100000,10000,0), c(0.00025,0.005,0.99475))
X.sim <- rsim(X, 200000)

plot(X.sim)

Example output

Attaching package: 'discreteRV'

The following object is masked from 'package:base':

    %in%

discreteRV documentation built on May 2, 2019, 11:04 a.m.