forestgeo / fgeo.biomass

Calculate biomass with allometric equations from the allodb package and ForestGEO data
https://forestgeo.github.io/fgeo.biomass
GNU General Public License v3.0
8 stars 4 forks source link

Interface enhancements #19

Closed maurolepore closed 5 years ago

maurolepore commented 5 years ago

Enhancements

This section shows pseudo-code: Code that doesn't actually run but shows what it would look like if it did work.

census %>% 
  add_species(species) %>% 
  add_biomass()

# Or
census_table %>% 
  add_biomass(sp = species)
census %>% 
  add_species(species) %>% 
  add_equations()
census %>% 
  add_species(species) %>% 
  add_equations()
  replace_equations(
    eqn_id = c("abcd", "efgh"),
    eqn = c("2.0394 * (dbh^2.5715)", "2.0394 * (dbh^2.5715)")
  )
maurolepore commented 5 years ago

@gonzalezeb,

image