Description Usage Arguments Details Value Author(s) See Also

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.