View source: R/fgeo_elevation.R
fgeo_elevation | R Documentation |
This function constructs an object of class "fgeo_elevation". It standardizes
the structure of elevation data to always output a dataframe with names gx
,
gy
and elev
.
fgeo_elevation(elev)
elev |
One of these:
|
A dataframe with names x/gx
, y/gy
and elev
.
This function was inspired by David Kenfack.
assert_is_installed("fgeo.x")
# Input: Elevation dataframe
elevation_df <- fgeo.x::elevation$col
fgeo_elevation(elevation_df)
class(elevation_df)
class(fgeo_elevation(elevation_df))
names(elevation_df)
names(fgeo_elevation(elevation_df))
# Input: Elevation list
elevation_ls <- fgeo.x::elevation
fgeo_elevation(elevation_ls)
class(elevation_ls)
class(fgeo_elevation(elevation_ls))
names(elevation_ls)
names(fgeo_elevation(elevation_ls))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.