In r, gstat has an Inverse distance weighted (IDW) interpolation method.

Does anyone know what the default values of nmin, nmax and maxdist are?

  • You could improve this question by adding some sample code to show what function you are using. You should also always do some basic checks of the help for functions before asking here. – Spacedman Mar 22 at 8:36

From the help file:


nmin = 0
nmax = Inf
maxdist = Inf
  • 1
    Why link to the raw Rd file in the github repo when you can get the answer from R's help system with ?idw ? – Spacedman Mar 22 at 8:37
  • @Spacedman that would make more sense... Answer updated. – JepsonNomad Mar 22 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.