Learn R Programming

doremi (version 1.0.0)

plot.doremidata: S3 method to plot DOREMIDATA objects

Description

plot.doremidata generates a plot of the simulated signals resulting from the generate.panel.1order and generate.panel.2order functions

Usage

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

Arguments

x

DOREMIDATA object resulting from the aforementioned functions

...

includes the additional arguments inherited from the generic plot method

Value

Returns a plot with axis labels, legend and title. The title includes the name of the DOREMIDATA object result of the analysis. The function uses ggplot to generate the graphs and thus it is possible to override the values of axis labels, legend and title through ggplot commands.

Examples

Run this code
# NOT RUN {
mydata <- generate.panel.1order(time=0:100,
                                excitation = c(rep(0,50),rep(1,51)),
                                nind = 6,
                                internoise = 0.2,
                                intranoise = 100)
plot(mydata)
# }

Run the code above in your browser using DataLab