plot_mle_change_point {decp} | R Documentation |
Plot MLE Change Point
Description
This function creates a plot of MLE change points.
Arguments
plot_data |
A data frame containing 'tau' and 'value' columns. |
best_tau |
The best tau value for the change point. |
best_value |
The maximum MLE value. |
Value
A ggplot object.
Examples
# Example usage
plot_data <- data.frame(tau = 1:100, value = rnorm(100))
best_tau <- 50
best_value <- max(plot_data$value)
plot_mle_change_point(plot_data, best_tau, best_value)
[Package decp version 0.1.0 Index]