do_changep: do_changep

View source: R/do_changep.R

do_changepR Documentation

do_changep

Description

Tests for a possible change point in the series accoring to the methodology described in ...

Usage

do_changep(data, y, n0)

Arguments

data

A data frame.

y

The outcome variable.

n0

The minimal number of years on each side of the change point.

Details

None

Value

A list with the change point, the value of the D statistic at the change point and the fitted values

Author(s)

Erik Lampa


NRM-MOC/MoCiS documentation built on March 27, 2023, 7:35 p.m.