fit_cpt: Given data and location of changepoint, fit a model.

View source: R/cpts_model.R

fit_cptR Documentation

Given data and location of changepoint, fit a model.

Description

Given data and location of changepoint, fit a model.

Usage

fit_cpt(cpt, bdat)

Arguments

cpt

Changepoint to fit. Should be a value in time column.

bdat

Dataframe with time and count.

Value

glm object for changepoint model.


BibelnieksDFW/BrBS documentation built on April 20, 2022, 12:54 a.m.