- data
- mousetrap data object containing the data to be plotted. 
- use
- character string specifying the set of trajectories to use in the
plot. The steps of this set will constitute the x axis. Defaults to
'tn_trajectories', which results in time steps being plotted on the x axis. 
- y
- variable in the mousetrap data object to be plotted on the
output's y dimension. Defaults to 'xpos', the cursor's x coordinate. 
- y_range
- numerical vector containing two values that represent the
upper and lower ends of the y axis. By default, the range is calculated
from the data provided. 
- y_bins
- number of bins to distribute along the y axis (defaults to
250). 
- facet_row
- an optional character string specifying a variable in
- data[[facet_data]]that should be used for (row-wise) faceting. If
specified, separate riverbed plots for each level of the variable will be
created.
 
- facet_col
- an optional character string specifying a variable in
- data[[facet_data]]that should be used for (column-wise) faceting.
If specified, separate riverbed plots for each level of the variable will
be created.
 
- facet_data
- a character string specifying where the (optional) data
containing the faceting variables can be found. 
- grid_colors
- a character string or vector of length 2 specifying the
grid color(s). If a single value is provided, this will be used as the grid
color. If a vector of length 2 is provided, the first value will be used as
the color for the major grid lines, the second value for the minor grid
lines. If set to - NA, no grid lines are plotted.
 
- na.rm
- logical specifying whether missing values should be removed.
This is not done by default, because generally riverbed plots are generated
from preprocess trajectories (e.g., time-normalized trajectories) that all
have the same length (i.e., the same number of steps).