HannaMeyer / CAST

Developer Version of the R package CAST: Caret Applications for Spatio-Temporal models
https://hannameyer.github.io/CAST/
108 stars 30 forks source link

reorganise kNNDM to allow for other spaces #62

Closed carlesmila closed 1 year ago

carlesmila commented 1 year ago

Also @JanLinnenbrink I've changed the organisation of the function to open it up to other spaces to be developped in the future. Now each space (geographical + the ones we may add) will have a separate subfunction which we can call in the wrapper. Added space argument + minor changes in the print and documentation. The functionality of the function is exactly the same as the previous version and should not break anything; tests passed.