modelselect: Select best region models from segmented regressions

View source: R/aic_calculations.R

modelselectR Documentation

Select best region models from segmented regressions

Description

Select the best model for each number of regions by minimizing the residual sums of squares.

Usage

modelselect(regiondata, noregions, nopcos, startpco = 1)

Arguments

regiondata

Matrix created by compileregions containing region breaks and summed residuals

noregions

Number of regions

nopcos

Number of PCOs to be analyzed

startpco

The pco to begin selection with

Value

Data frame of best models for given regions


katrinajones/regions documentation built on March 23, 2022, 12:12 a.m.