Skip to contents

A function in the metab_model_interface. Returns the time that was taken to fit the model; see proc.time() for details.

Usage

get_fitting_time(metab_model)

# S3 method for class 'metab_model'
get_fitting_time(metab_model)

Arguments

metab_model

A metabolism model that implements the metab_model_interface.

Value

A proc_time object.

Methods (by class)

  • get_fitting_time(metab_model): This implementation is shared by many model types.

Examples

get_fitting_time(metab_model())
#>    user  system elapsed 
#>       0       0       0