Learn R Programming

crisp (version 1.0.0)

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

Description

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

Usage

"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

Run this code
#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)

Run the code above in your browser using DataLab