% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compare_regression_models.R
\name{compare_regression_models_ETR_I}
\alias{compare_regression_models_ETR_I}
\title{Compare Regression Models for ETR I}
\usage{
compare_regression_models_ETR_I(data_dir, read_func)
}
\arguments{
\item{data_dir}{A character string specifying the directory containing input data files.}

\item{read_func}{A read function defined in read_pam_data.R depending on the used device.}
}
\value{
A vector with total points assigned to each regression model based on their performance. Models are ranked as follows:
\itemize{
  \item 1st place: 3 points
  \item 2nd place: 2 points
  \item 3rd place: 1 point
  \item 4th place: 0 points
}
If regression is not possible for a model, no points are awarded for any of the models for the respective file.
}
\description{
Compares multiple regression models for electron transport rate (ETR) data using predefined performance metrics.
}
\details{
This function compares the performance of the following models:
\itemize{
  \item Eilers-Peeters (1988)
  \item Platt (1980)
  \item Vollenweider (1965)
  \item Walsby (1997)
}
Models are ranked based on the deviation between observed and predicted values. The results guide users in selecting the most appropriate model for their dataset. Start values for parameters cannot be adjusted within this function.
A detailed documentation can be found under \url{https://github.com/biotoolbox/pam/tree/main#functions}
}
\examples{
path <- file.path(system.file("extdata/dual_pam_data", package = "pam"))
points <- compare_regression_models_ETR_I(path, read_dual_pam_data)

}
\references{
{
  Eilers, P. H. C., & Peeters, J. C. H. (1988). \emph{A model for the relationship between light intensity and the rate of photosynthesis in phytoplankton.}
  Ecological Modelling, 42(3-4), 199-215. Available at: \doi{10.1016/0304-3800(88)90057-9}

  Platt, T., Gallegos, C. L., & Harrison, W. G. (1980). \emph{Photoinhibition of photosynthesis in natural assemblages of marine phytoplankton.}
  Journal of Marine Research, 38(4). Available at: \url{https://elischolar.library.yale.edu/journal_of_marine_research/1525/}.

  Romoth, K., Nowak, P., Kempke, D., Dietrich, A., Porsche, C., & Schubert, H. (2019). \emph{Acclimation limits of Fucus evanescens along the salinity gradient of the southwestern Baltic Sea.}
  Botanica Marina, 62(1), 1-12. Available at: \doi{10.1515/bot-2018-0098}.

  Vollenweider, R. A. (1965). \emph{Calculation models of photosynthesis-depth curves and some implications regarding day rate estimates in primary production measurements.}
  In C. R. Goldman (Ed.), \emph{Primary Productivity in Aquatic Environments} (pp. 427-457). Mem. Ist. Ital. Idrobiol., 18 Suppl., University of California Press, Berkeley.

  Walsby, A. E. (1997). \emph{Numerical integration of phytoplankton photosynthesis through time and depth in a water column.}
  New Phytologist, 136(2), 189-209. Available at: \doi{10.1046/j.1469-8137.1997.00736.x}.
}
}
