quadform2d: Function calculates a quadratic form for 2-d vectors

Description Usage Arguments Examples

View source: R/fns.R

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))

mas3321 documentation built on May 31, 2017, 1:50 a.m.

Search within the mas3321 package
Search all R packages, documentation and source code