Description Usage Arguments Value

This function computes the contrast vector *ν* such that

*ν^T y = x_0^Tβ^M,*

where *x_0* is a *p*-dimensional new data point.

1 | ```
contrastForSurf(x0, X, outlier.det)
``` |

`x0, ` |
the new data point of length |

`X, ` |
the design matrix (including the intercept). |

`outlier.det, ` |
indexes of detected outliers. |

This function returns the contrast vector *ν*.

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.