Description Usage Arguments Value See Also Examples
Imports lake bathymetry data. Bathymetric data file must be a 2 column array where depth (in meters) and area (in meters^2) information are provided in columns with headers containing the words "depths" and "areas" respectively.
| 1 | load.bathy(fPath)
 | 
| fPath | File path to the bathymetry file. | 
data.frame of depth and area for given lake.
| 1 2 3 4 5 6 7 8 9 10 |   #Get the path for the package example file included
  exampleFilePath <- system.file('extdata', 'Sparkling.bth', package="rLakeAnalyzer")
  
  #Load and plot the hypsometric curve
  sparkling.bathy = load.bathy(exampleFilePath)
  
  #If successful, there will be two colums. "depths", and "areas".
  plot(sparkling.bathy$areas, sparkling.bathy$depths, type='l', ylim=c(20,0), 
    ylab='Depths (m)', xlab='Areas (m^2)')
  
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.