Single Taxon LHT Predictor class
TaxonUpdatedLHTGetter.RdClass that given some LHTs will fetch their predicted version according to FishLife covariance
Super class
LHTpicker::MixinUtilities -> TaxonUpdatedLHTGetter
Public fields
common_columns_dscommon columns across the underlying data structure of FishLife. Taxa's LHT could end up having additional fields that the overall covariance matrix does not support.
Methods
Method new()
Usage
TaxonUpdatedLHTGetter$new(
master_db,
estimated_lhts,
estimated_lht_cov,
new_lhts,
func_domains
)Arguments
master_dbFishlife database
estimated_lhtstaxon's LHT numeric vector as fetched from Fishlife.
new_lhtspredicting LHT list which names must conform to FishLife's expectations
func_domainslist of transforming function which names must conform to FishLife's expectations
estimated_lht_convtaxon's covariance matrix as fetched from Fishlife
Method generate_new_lht_matrix()
Generate the new LHT matrix in shape and mathematical domain expected by Fishlife
Method predict()
Generate a matrix with the new predicted LHTs given some initial values, both in log and log-converted space