bfast2 / bfast

Breaks For Additive Season and Trend
https://bfast2.github.io
GNU General Public License v2.0
41 stars 15 forks source link

How to extract slopes of lines through bfast? #108

Closed yiying99 closed 1 year ago

yiying99 commented 1 year ago

hey, my friends, is there anybody know how to extract slopes of lines through bfast? This is my code: plot(fit,ANOVA=TRUE), there is data on picture, but I can't statistics.

GreatEmerald commented 1 year ago

You should be able to use the coef() function on the breakpoints object to get all of the coefficients, including the slope, of each of the segments.

yiying99 commented 1 year ago

Thank you so much, it helps me a lot!