Description Usage Arguments Value Examples
plot.doremi
generates a plot with the observed values of the signal, the excitation values and the fitted
signal over time for each individual.
1 2 |
x, |
DOREMI object resulting from |
... |
includes the additional arguments inherited from the generic plot method |
id |
Identifiers of the individuals to be represented in the plot. By default, it will print the first six individuals. |
Returns a plot with axis labels, legend and title. The axis labels and legend include the names of the variables set as input arguments.
The title includes the name of the DOREMI object result of the analysis. The function uses ggplot
to generate the graphs and so 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:100,
excitation = sin(0:100),
y0 = 0,
t0 = 0,
tau = 2,
k = 1,
yeq = 0,
nind = 2,
internoise = 0.1,
intranoise = 8)
myresult <- analyze.1order(data = mydata,
id = "id",
input = "excitation",
time = "time",
signal = "signal")
plot(myresult)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.