You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function is not vectorized if the user wants to supply the function with crop groups. The application of PEC_sw_drift() to a large data set via apply becomes computationally very time consuming. If crop group is not supplied, the function is vectorized.
I assume the vectorisation can be made possible by changing
crop_group_RF <- match.arg(crop_group_RF)
to
crop_group_RF <- sapply(crop_group_RF, match.arg)
But further changes migth be necessary...
The text was updated successfully, but these errors were encountered:
Hi Hannes.
Another thing on Julian's wishlist:-)
The function is not vectorized if the user wants to supply the function with crop groups. The application of PEC_sw_drift() to a large data set via apply becomes computationally very time consuming. If crop group is not supplied, the function is vectorized.
I assume the vectorisation can be made possible by changing
crop_group_RF <- match.arg(crop_group_RF)
to
crop_group_RF <- sapply(crop_group_RF, match.arg)
But further changes migth be necessary...
The text was updated successfully, but these errors were encountered: