title: How to find boundary for set of points in R?
body: <p>I have a data set of XYZ coordinates (lake bathymetry) and I want to create a grid out of them for later meshing purposes using GMSH. I know that there is an easy way to do it in MATLAB using the boundary(x,y,z) function. Unfortunately, I couln't find anything similar in R and I have too many points to create boundary lines by hand. </p>
  
  <p>Does anyone has an idea how to proceed with this in R? At the end I need the lines consisting of the outer points in my point cloud.</p>
  
  <p>Thanks a lot!</p>