Description Usage Arguments Value Examples
Plot individual time series
1 2 3 4 5 6 | plotTraj(dt.arg, x.arg, y.arg, group.arg, facet.arg = NULL,
summary.arg = c("none", "mean", "meanCInorm", "meanCIboot"),
facet.ncol.arg = 2, line.col.arg = NULL, xlab.arg = "Time",
ylab.arg = "Fl. int.", plotlab.arg = "", dt.stim.arg = NULL,
stim.x.arg, stim.y.arg, maxrt.arg = 60, xaxisbreaks.arg = 10,
xlim.arg = NULL, ylim.arg = NULL)
|
dt.arg |
Data table in long format |
x.arg |
String with column name of x-axis data |
y.arg |
String with column name of y-axis data |
group.arg |
String with column name of the grouping variable for trajectories. This is usually a trackID. |
facet.arg |
String with oclumn name of the variable used for plot facets (optional) |
summary.arg |
Optional summary stats to plot on top of individual time series. Choose from |
facet.ncol.arg |
Number of facetting columns |
line.col.arg |
String with variable name to use for time series colouring (default NULL) |
xlab.arg |
String with x-axis label |
ylab.arg |
String with y-axis label |
plotlab.arg |
String with plot title |
dt.stim.arg |
Data table with stimulation curve |
stim.x.arg |
String with column name of x-axis stimulation data |
stim.y.arg |
String with column name of y-axis stimulation data |
maxrt.arg |
Max value of x-axis label |
xaxisbreaks.arg |
Value of x-axis interval |
xlim.arg |
Limit of x-axis |
ylim.arg |
Limit of y-axis |
ggplot2 plot object
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.