Make a changeregion data.table

make_region(region_x, parameter_y, state, next_cp = NaN, add_na = TRUE)

Arguments

region_x

The x values over which this region spans

parameter_y

The median of this region

state

The state of this region

next_cp

The median of the next region

add_na

Whether to add a row of NAs at the bottom of the return table

Value

(data.table) describing the changeregion