quadform2d: Calculates a quadratic form for 2-d vectors

Description Usage Arguments Examples

View source: R/fns.R

Description

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

nclbayes documentation built on May 31, 2017, 3:13 a.m.

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