Description Usage Arguments Value Author(s) Examples
View source: R/time-trend-plot.R
Time trend plot, with linear or lowess trend, for single location
1 | time_trend_single(d, lowess = TRUE, loc)
|
d |
data frame in wide format (see make_wide) |
lowess |
if TRUE, add lowess curve; if FALSE, add linear trend (defaults to TRUE) |
loc |
character string that identifies location |
ggplot time trend plot for specified location
Ken Butler, butler@utsc.utoronto.ca
1 2 | time_trend_single(nine_points, loc=6) # with lowess
time_trend_single(nine_points, lowess=FALSE, loc=6) # with line
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.