Description Usage Arguments Examples

Function calculates a quadratic form for 2-d vectors

1 | ```
quadform2d(beta1, beta2, b, c)
``` |

`beta1` |
dimension 1 |

`beta2` |
dimension 2 |

`b` |
2-d vector containing (location) mean |

`c` |
2x2 centering matrix |

1 | ```
quadform2d(1,1,c(0,0),diag(1,2))
``` |

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.