Description Usage Arguments Value Author(s) See Also
View source: R/find_intercept_changes.R
Function to detect intercept changes in a time series.
1 2 3 4 5 6 7 | find_intercept_changes(
df,
n_pieces = 2,
chains = 3,
n_cores = 1,
verbose = FALSE
)
|
df |
Input data frame containing a time series. |
n_pieces |
Number of different pieces in the time series to detect. |
chains |
Number of chains to run. |
n_cores |
Number of cores to be used for model calculation. |
verbose |
Should the function give messages? |
mcpfit
model object with an extra "mcmc_tidy"
element.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.