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

Description Usage Arguments Value

View source: R/calcs_estimation.R

Description

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

Usage

1
2
3
4
5
6
7
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 with the corresponding AIC


biodosimetry-uab/biodosetools documentation built on Jan. 19, 2022, 1:49 p.m.