Description Usage Arguments Value

This function computes the contrast vector *ν* such that

*ν^T y = β^M_j.*

1 | ```
contrastForCoef(j, X, outlier.det)
``` |

`j, ` |
the index of regression coefficients. |

`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.