flexsdm
flexsdm copied to clipboard
Allow extra_eval to calculate extrapolation for multiple environments
Calculating extra_eval for many points takes a long time. When extrapolation for both the training environment and a projection environment is wanted, the function has to be run twice. I assume most of the running time of extra_eval comes from calculating the distances. Allowing for multiple environments in the function can speed up a total workflow considerably.