View source: R/mod_plot_functions_highlight_lines.R
ps_lines_highlight | R Documentation |
Given a table of lines
and a line_id
, add a new column, line_type
,
with values:
"identical"
: Matching line_id
"related"
: Line represents a sub- or super-streak, but is not identical
"season"
: Line is from same year and team, but not a sub- or super-streak
"base"
: Unrelated line
ps_lines_highlight( lines, lzy_concordances, lzy_lines_to_streaks, line_id = NULL )
lines |
Table of lines |
lzy_concordances |
Lazy concordances table |
lzy_lines_to_streaks |
Lazy lines_to_streaks table |
line_id |
LineID |
If line_id
is NULL
or omitted, all values will be "base"
Lines with added line_type
column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.