Isopach or contours from non-regular data

I'm looking for a package or "general procedure" to create an isopach or contour map in R using non-regular data.

The issue is, it seems like every package that can do this requires "regular" data, which means all the data points are lined up "square" (i.e., there is a value at every square in the grid). I'm looking for a package that can create contours based on non-regular data, where the locations are rather random.

I can do a 2D interpolation to get a value for every square, but I'd like a package that does that for me :wink:

1 Like

Hi @Eric_Krantz
Take a look at the akima package on CRAN.

The DiceKriging package on CRAN might do a better job at converting your non-regular data to regular than linear interpolation, but for you it's probably still second-best.

I was searching for something similar, and found this discussion mentioning the akima package helpful