amend_output {temperatureresponse}R Documentation

amend_output

Description

Helper function that add terms to the broom output of fit

Usage

amend_output(output, fit, f_equ, temp, rate, try_test, augment, return_fit)

Arguments

output

broom output of fit

fit

the model output of the fitting process

f_equ

equation with fitted parameters

temp

temperature values of measurements

rate

rate that changes with temperature

try_test

did the model fitting succeed or produce an error?

augment

add columns to the original dataset such as predictions, residuals and cluster assignments using package::broom (T/F)?

return_fit

return the model object (T/F)?

Value

a data frame of, depending on augment argument, if FALSE, parameters, if TRUE, data with predicted values


[Package temperatureresponse version 0.2 Index]