Interpole alpha and all latent variables with knn algorithm. Then save interpolation on disk in output folder.

knn_interpolation_jSDM(jSDM_binom_pro, k = 5, coord_site, sf_forest)

Arguments

jSDM_binom_pro

object of class jSDM. output of "jSDM_binomial_probit" of "jSDM" library

k

int. number of neighbours to consider in knn algorithm, default is 5.

coord_site

dataframe. columns name must contain latitude and longitude as names.

sf_forest

sf object. area where interpolation will be done.