getAIC: Obtain AIC for Given Background Value

View source: R/getAIC.R

getAICR Documentation

Obtain AIC for Given Background Value

Description

Apply a given bgnd value to create a fitted model (or models) and return the Akaike's Criterion for the GLM fitted model. getFit is called for each value of bgnd.

Usage

getAIC(df, bgnd, by)

Arguments

df

annotated data.frame or list of data.frames with imaging results.

bgnd

numeric vector of background values to test.

by

(optional) name of the variable in the results data.frame that will be used to split the results before fitting

Value

The AIC value associated with the fit for each value of bgnd or list of AIC values if a list of data frames was provided.


ornelles/virustiter documentation built on Sept. 18, 2024, 10:50 a.m.