Skip to contents

Function for exchanging knot locations and re-fitting model to find best one

Usage

exchange.step_2d(
  gap,
  knotDist,
  radii,
  dists,
  explData,
  response,
  knotgrid,
  maxIterations,
  fitnessMeasure,
  point,
  knotPoint,
  position,
  aR,
  BIC,
  track,
  out.lm,
  improveEx,
  maxKnots,
  tol = 0,
  baseModel,
  radiusIndices,
  models,
  interactionTerm,
  data,
  initDisp,
  cv.opts,
  basis,
  printout
)

Author

Cameron Walker, Department of Enginering Science, University of Auckland and Lindesay Scott-Hayward (University of St Andrews)