Show or hide trajectory paths
qe_trajectories.RdAdds a <qe-trajectories> layer to the rendered graph. QEviz only renders
supplied trajectory rows; accumulation, dooring, model selection, and
inference remain the caller's responsibility.
Arguments
- p
A
qe_plotobject.- units
Optional character vector of unit IDs to show. Omit to show all units present in the model's
trajectoriesframe.- smooth
Path treatment:
"none"for observed steps or"poly"for polynomial smoothing.- max_degree
Upper bound on polynomial degree when
smooth = "poly". Withdegree_selection = "loocv_2d"the actual degree is chosen in1..max_degree; with"fixed"this degree is always used.- degree_selection
Degree selection when
smooth = "poly"."loocv_2d"(default) picks the degree by joint 2D leave-one-out cross-validation;"fixed"always usesmax_degree. Near-origin points are excluded from the fit (still drawn), matchingena.plot.trajectory().- points
Logical. Show observed state dots.
- tips
Logical. Show the leading current-state marker.
- playhead
Optional numeric time value. Rows after this value are hidden.
- line_style
"uniform"or"tapered".- stroke_width
Uniform stroke width in display pixels.
- stroke_width_range
Numeric length-2 vector for tapered paths.
- opacity_range
Numeric length-2 vector for tapered paths.
- show
Logical.
FALSEsuppresses trajectory rendering.