Function calculates a quadratic form for 2-d vectors

Share:

Description

Function calculates a quadratic form for 2-d vectors

Usage

1
  quadform2d(beta1, beta2, b, c)

Arguments

beta1

dimension 1

beta2

dimension 2

b

2-d vector containing (location) mean

c

2x2 centering matrix

Examples

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.