Learn R Programming

gmwmx2 (version 0.0.5)

plot.generated_missingness: Plot a generated_missingness object

Description

Produces a step plot for a generated_missingness object.

Usage

# S3 method for generated_missingness
plot(x, ...)

Value

Invisibly returns x.

Arguments

x

A generated_missingness.

...

Additional arguments passed to plot().

Examples

Run this code
m0 <- markov_two_states(p1 = 0.05, p2 = 0.9)
z0 <- generate(m0, n = 200, seed = 123)
plot(z0)

Run the code above in your browser using DataLab