Computes a set of nKnots interior knots( if possible) plus 2 boundary knots so that:

1) the nOut smallest and highest data points (in x) lies below and above the lower and upper boundary knots respectively.

2) there is at least nIn data points between all knots.

1 | ```
getKnots(x,nKnots=10,nOut=2000,nIn=4000)
``` |

`x` |
Data vector |

`nKnots` |
Number of interior knots |

`nOut` |
Number of data points below and above the lower and upper boundary knots respectively. |

`nIn` |
Number of data points between knots. |

See the definition (R-code) for details.

A vector of knots.

Magnus *A*strand

plw, lmw, estimateSigmaMVbeta

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.