Multiple Updated LHT Generator class
TaxaUpdatedLHTGetter.RdAllows the streamline-generation of updated LHTs given new data.
Value
list of LHT matrices, where each name in the list corresponds a single taxon
a unnamed list of LHT values per taxon
renamed list of lht which names conform to Fishlife's expected patterns
list of LHT values (another list) for each taxon
Methods
Method new()
Initialise the Updated LHT Generator class
Usage
TaxaUpdatedLHTGetter$new(
master_db,
predicting_lht_df,
transform_function_list,
lht_names
)Arguments
master_dbFishlife database
predicting_lht_dfdataframe providing the taxon details and their predicting LHT values
transform_function_listlist of transforming function which names must conform to FishLife's expectations
lht_nameslist of user-defined LHT names associated with their FishLife's counterparts
Method update()
Update the given LHTs per taxon according to the new predicted value yielded by FishLfe