# S4 method for der
plot(x, what = 1:3, add = FALSE, legend = TRUE,
plot.colors = c("black", "red", "blue"), ...)
Arguments
x
is a '>der object.
what
is a vector specifying what should be plotted. 1 means raw data,
2 means first derivative and 3 means second derivative. Any
combination of mentioned values is valid, for example: c(1,2), c(1, 2, 3),
c(2, 3). See Details and Examples.
add
is a "logical" argument. If TRUE, plot is added to existing
plot.
legend
is a "logical" argument. If TRUE, legend is added to the
plot.
plot.colors
is a vectors of colors used in plot. Must have length 3 for the original function, first,
and second derivative, respectively.
...
Arguments to be passed further to the plot function, such as graphical
parameters.