Skip to contents

Functions

Functions for preparing the data, fitting regressions, selecting best models, and plotting results

PCOload() plot(<regions_pco_load>)
Calculate PCO loadings
PCOselect() plot(<regions_pco_select>) summary(<regions_pco_select>)
Select PCO scores
calcBPvar()
Calculate variability of breakpoints
calcmodel()
Calculate results of a single segmented regression model
calcregions() addregions() summary(<regions_results>) ncombos()
Fit segmented regression models for all combinations of breakpoints
modelperf()
Assess model performance
modelselect()
Select the best models
modelsupport()
Evaluate model support
plot(<regions_pco>)
Plot PCO axes
plotsegreg()
Plot a segmented regression model
plotvertmap()
Plot a vertebra map
simregions() plot(<regions_sim>)
Simulate regions data
process_measurements()
Process vertebra measurements
subsample()
Subsample a dataset
svdPCO()
Calculate PCO (principal co-ordinates analysis) based on SVD

Datasets

alligator
Measurements from the vertebral column of an alligator
dolphin
Measurements from the vertebral column of a dolphin
musm
Measurements from the vertebral column of a mouse
porpoise
Measurements from the vertebral column of three porpoises