plot.sim.data: Plot Mean Model for Data.

Description Usage Arguments Value See Also Examples

Description

This function plots the mean model for the scenario from which data was generated using sim.data.

Usage

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

Arguments

x

An object of class sim.data, which results from running the sim.data function.

...

Additional arguments to be passed, which are ignored in this function.

Value

None.

See Also

sim.data

Examples

1
2
3
4
5
6
7
8
#See ?'crisp-package' for a full example of how to use this package

#generate data (using a very small 'n' for illustration purposes)
set.seed(1)
data <- sim.data(n = 15, scenario = 2)

#plot the mean model for the scenario from which we generated data
plot(data)

crisp documentation built on May 2, 2019, 2:40 a.m.