plot.doremiparam: S3 method to plot DOREMIPARAM objects

Description Usage Arguments Value Examples

Description

plot.doremiparam generates a plot of the parameters resulting from the optimum_param function

Usage

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

Arguments

x

DOREMIPARAM object resulting from the aforementioned function

...

includes the additional arguments inherited from the generic plot method

Value

Returns a plot showing the evolution of the first/second order differential equation coefficients and R2 with the values taken by the embedding number/smoothing parameter (see details of optimum_param function). 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
mydata <- generate.panel.1order(time = 0:130,
                          excitation = c(rep(0,30),rep(1,50),rep(0,51)),
                          nind = 5,
                          internoise = 0.2,
                          intranoise = 100)
myres<- optimum_param (data = mydata,
                         id = "id",
                         input ="excitation",
                         time = "time",
                         signal = "signal",
                         model = "1order",
                         dermethod = "gold",
                         pmin = 3,
                         pmax = 11,
                         pstep = 2)
plot(myres)

doremi documentation built on Jan. 29, 2021, 5:06 p.m.