evaluate_splines: Spline model density evaluation.

View source: R/functions.R

evaluate_splinesR Documentation

Spline model density evaluation.

Description

Calculates the seasonal flight curve using splines

Usage

evaluate_splines(par, skeleton, spline_specs, nT, nS)

Arguments

par

The vector of estimated spline coefficients (and also potentially the distributional parameters for ZIP and NB likelihoods)

skeleton

The skeleton to relist the parameters

spline_specs

The list containing the 'degree' of the splines and also df (their degrees of freedom)

nT

The number of sampling occasions per site

nS

The number of sampling locations during the survey

Value

A vector of values of length nT, giving the relative density of expected counts at each occasion


calliste-fagard-jenkin/GAI documentation built on July 26, 2022, 11:20 a.m.