Performs a structural change analysis on diferent layer models to find points where a change in the sequence might be occuring.
sc_bic(x, h = 0.1)
x | A data frame containing the location variable (depth or distance) in the first column, and the value of interest in the second column |
---|---|
h | Percent of data points per layer |
A ggplot and plotly objects showing the BIC statistic
The example data given is intended to show the structure needed for input data. The user should follow this structure, which in general corresponds with a data frame with a sequence in the first column and the observed/measured values in the second column
sc_bic(DPM_data, h = 0.1)#> $GGPLOT#> #> $PLOTLY #>