AIC_from_data: Calculate AIC (Akaike's 'An Information Criterion')

View source: R/calcs_estimation.R

AIC_from_dataR Documentation

Calculate AIC (Akaike's 'An Information Criterion')

Description

Calculate AIC (Akaike's 'An Information Criterion')

Usage

AIC_from_data(
  general_fit_coeffs,
  data,
  dose_var = "dose",
  yield_var = "yield",
  fit_link = "identity"
)

Arguments

general_fit_coeffs

Generalised fit coefficients matrix.

data

Data (dose, yield) to calculate AIC from.

dose_var

Name of the dose variable (enquoted).

yield_var

Name of the yield variable (enquoted).

fit_link

A specification for the model link function.

Value

Numeric value of AIC.


biodosimetry-uab/biodosetools documentation built on Nov. 28, 2024, 10:12 a.m.