bfast2 / bfast

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

Add R² to bfastmonitor monitor period output #67

Open GreatEmerald opened 3 years ago

GreatEmerald commented 3 years ago

Already possible to do something like that with:

cor(predict(mona$model, mona$tspp[mona$tspp$time >= mona$monitor[1],]), mona$tspp[mona$tspp$time >= mona$monitor[1],"response"])^2