Description Usage Arguments Details Value Note Author(s) See Also Examples

Generates *b1(p), b2(p), …* such that, for `0 < p < 1`,

*θ1*b1(p) + θ2*b2(p) + …*

is a piecewise linear function with slopes
*θ1, θ2, …*.

1 |

`p` |
a numeric vector of values between |

`knots` |
a set of |

This function permits computing a piecewise linear function on the unit interval. A different slope holds between each pair of knots, and the function is continuous at the knots.

A matrix with one row for each element of `p`, and `length(knots) + 1`

columns.
The knots are returned as `attr(, "knots")`

.
Any linear combination of the basis matrix is a piecewise linear function where
each coefficient represents the slope in the corresponding sub-interval (see ‘Examples’).

This function is typically used within a call to `iqr`

.
A piecewise linear function can be used to describe how quantile regression coefficients
depend on the order of the quantile.

Paolo Frumento [email protected]

`slp`

, for shifted Legendre polynomials.

1 2 3 4 5 6 7 |

```
Loading required package: survival
Loading required package: pch
```

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.