constant.bin: A model like piecewise regression (linearmodel.bin), but y is...

Description Usage

Description

A model like piecewise regression (linearmodel.bin), but y is a constant within each bin.

With B bins, 2B-1 parameters are needed. First B-1 parameters are bin breaks. The remaining B parameters are the constant value of y in each bin.

Usage

1
constant.bin(x, param)

forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.