plot.sim.data {crisp}R Documentation

Plot Mean Model for Data.

Description

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

Usage

## 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

#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)

[Package crisp version 1.0.0 Index]