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.
plot.colors
is a vectors of colors used in plot. Must have length 3 for the original function, first,
and second derivative, respectively.