Skip to contents

extracts the type of fit that was applied in flux_fitting or checks that the fit_type provided by the user is compatible with Fluxible

Usage

flux_fit_type(
  df,
  fit_type = c(),
  fit_type_list = c("exponential", "linear", "quadratic")
)

Arguments

df

any dataframe

fit_type

type of fit that was applied in flux_fitting. Needs to be filled only if the df was produced outside of the Fluxible workflow.

fit_type_list

list of fit types in use with Fluxible.