BIC.scampr: Wrapper for Akaike's Information Criteria for objects of...

View source: R/BIC.scampr.R

BIC.scamprR Documentation

Wrapper for Akaike's Information Criteria for objects of class 'scampr' with k = log(N)

Description

Wrapper for Akaike's Information Criteria for objects of class 'scampr' with k = log(N)

Usage

## S3 method for class 'scampr'
BIC(object, ...)

Arguments

object

a scampr model

...

Optionally, additional scampr model objects

Value

a numeric value with the corresponding BIC

Examples

# Get the gorilla nesting data
dat <- gorillas

# Standardise the elevation covariate
dat$elev.std <- scale(dat$elevation)

# Fit a scampr model to the point pattern
m <- scampr(pres ~ elev.std, data = dat, model.type = "PO")

BIC(m)

ElliotDovers/scampr documentation built on March 17, 2024, 3:27 p.m.