amend_output: amend_output

Description Usage Arguments Value

View source: R/amend_output.R

Description

Helper function that add terms to the broom output of fit

Usage

1
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


low-decarie/temperatureresponse documentation built on May 29, 2019, 11:40 a.m.