makeM_F: Projection matrix M_F

Description Usage Arguments Value Note Examples

View source: R/makeM_F.R

Description

makeM_F(F) creates a projection matrix M_F. It is definied by the formula M_F = F((F'F)^(-1))F' and projects into the space orthogonal to the column space spanned by the columns of matrix F.

Usage

1

Arguments

F

matrix.

Value

Projection matrix M_F.

Note

Ver.: 02-Jan-2019 13:49:17.

Examples

1
2
3
4
5
6
## EXAMPLE 1
times <- c(1:24)
frequencies <- c(1/24, 1/8, 1/6)
matF <- makeF(times, frequencies)
matMF <- makeM_F(matF)
print(matMF)

gajdosandrej/fdslrm documentation built on April 28, 2020, 11:35 a.m.