Allow autoplotting the columns sp and elev.
sp_elev(sp, elev = NULL)A ForestGEO-like dataframe with the column sp.
A ForestGEO-like elevation list or its col dataframe -- with
the column elev. The datasets you pass to sp and elev should come
from the same forest plot. This is not compulsory but not doing so is most
likely a mistake.
An S3 object of class 'sp_elev'.
Other plot functions:
autoplot.fgeo_habitat(),
autoplot.sp_elev(),
autoplot_by_species.sp_elev(),
elev(),
plot_dbh_bubbles_by_quadrat(),
plot_tag_status_by_subquadrat(),
sp()
Other autoplots:
autoplot.fgeo_habitat(),
autoplot.sp_elev(),
elev(),
sp()
Other functions to construct fgeo classes:
elev(),
sp()
Other functions to plot elevation:
autoplot.sp_elev(),
autoplot_by_species.sp_elev(),
elev()
Other functions to plot species:
autoplot.sp_elev(),
autoplot_by_species.sp_elev(),
sp()
assert_is_installed("fgeo.x")
species_from_luquillo <- fgeo.x::stem5
elevation_from_luquillo <- fgeo.x::elevation
species_elevation <- sp_elev(species_from_luquillo, elevation_from_luquillo)
inherits(species_elevation, "sp_elev")
#> [1] TRUE