scatter 4dplot3D, from Kar Soetaert, is an R package containing many functions for 2D and 3D plotting: scatter3D, points3D, s3D, text3D, ribbon3d, hist3D, etc. In addition to the x, y (and z) values, an additional data dimension can beSince your input data is scattered, you're going to want to use scatteredInterpolant. This allows for interpolation of non-uniformly-spaced input data. For your specific data,