Description Usage Arguments Value Examples
plot.doremiparam
generates a plot of the parameters resulting from the optimum_param
function
1 2 |
x |
DOREMIPARAM object resulting from the aforementioned function |
... |
includes the additional arguments inherited from the generic plot method |
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.