zerobasis: Orthonormal Matrix with Columns Summing to Zero

View source: R/zerobasis.R

zerobasisR Documentation

Orthonormal Matrix with Columns Summing to Zero

Description

The matrix is k by k-1, columns are orthonormal and sum to zero. This matrix is used when quantities are unchanged to adding a constant, such as in multinomial data modelling.

Usage

zerobasis(k)

Arguments

k

A positive integer greater than one.

Details

There are many ways of generating these matrix. This functions uses the discrete Fourier series less the constant vector.

Value

A k by k-1 matrix with orthonormal columns that sum to zero.

See Also

smooth.surp, eval.surp


fda documentation built on May 31, 2023, 9:19 p.m.