calc_bic: Calculate BIC

View source: R/calc_bic.R

calc_bicR Documentation

Calculate BIC

Description

Calculate BIC

Usage

calc_bic(loglik, df, n)

Arguments

loglik

Numeric vector with loglikelihood values

df

Numeric vector with degrees of freedom (number of parameters)

n

Numeric with sample size

Value

Numeric vector with BIC values

Examples

bic <- calc_bic(c(-40, -35), c(2, 1), 100)

Neves-P/islandpaleoarea documentation built on Feb. 10, 2024, 8:46 a.m.