cost_negbin: Cost Negbin

Description Usage Arguments Value Examples

View source: R/cost.R

Description

Cost function for Negbin models

Usage

1

Arguments

v

vector of data points

Value

the optimal cost value

Examples

1
2
3
cost_negbin(c(0,1,2))
cost_negbin(c(1,1,1))
cost_negbin(c(1,1,1,2,2,2))

Qrtsaad/CHANGEPOINT documentation built on Dec. 18, 2021, 8:42 a.m.