lambda: Lambda Seasonal model for the intensity function, lambda(t) =...

View source: R/time_utils.r

lambdaR Documentation

Lambda Seasonal model for the intensity function, \lambda(t) = a + b + b \sin(c\,2 \pi/365 + x 2 \,\pi / 365).

Description

Lambda

Seasonal model for the intensity function, \lambda(t) = a + b + b \sin(c\,2 \pi/365 + x 2 \,\pi / 365).

Usage

lambda(x, params, names = F)

Arguments

x

numeric vector of time points.

params

numeric vector of parameters of length = 4.

names

A vector. Can be used to label

Value

a numeric vector of the same length as x.

Examples

lambda(c(1,2,3,4,5,6), c(1,1,1,1) )

mcavallaro/rancovr documentation built on April 17, 2025, 7:21 p.m.