Description Usage Arguments Examples
A function for finding a number of linear fits within a dataset.
1 2 | segmentFUN(x, obs, comparison.value, date, min.length, break.points,
plot = FALSE, plot.title = NA)
|
obs |
This is the numeric column under investigation. |
comparison.value |
This is the data to compare the obs against. |
date |
Date column. |
min.length |
This is the length of the comparison value sample to draw the break points from. |
break.points |
Number of break points within the data (will make break.point + 1 regressions). |
plot |
Option to create a plot with the break points. Defaults to 'FALSE'. |
plot.title |
If plot is 'TRUE' this command provides an option for giving the plot a title. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.