metab_model_interface | R Documentation |
streamMetabolizer
-compatible metabolism
model.Metabolism models in the streamMetabolizer
package all implement a
common set of core functions. These functions are conceptually packaged as
the metab_model_interface
defined here.
A collection of functions which any metabolism model in
streamMetabolizer
should implement.
show(metab_model) { display(metab_model) }
get_params(metab_model, ...) { return(data.frame) }
get_param_names(metab_model, ...) { return(list) }
predict_metab(metab_model, ...) { return(data.frame)
}
predict_DO(metab_model, ...) { return(data.frame) }
get_fit(metab_model) { return(fitted.model) }
get_fitting_time(metab_model) { return(proc_time) }
get_info(metab_model) { return(info) }
get_specs(metab_model) { return(specs.list) }
get_data(metab_model) { return(data.frame) }
get_data_daily(metab_model) { return(data.frame) }
get_version(metab_model) { return(version.string) }
methods(class="metab_model")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.