Learn R Programming

Tex4exams (version 0.1.2)

myGS: Orthogonal projection of y onto x

Description

Orthogonal projection of y onto x.

Usage

myGS(x,y)

Value

myGS returns a vector of the projection of y onto x.

Arguments

x,y

a pairs of vectors.

See Also

G3S

Examples

Run this code
x <-  sample(c((-10):10),3)
y <-  sample(c((-10):10),3)
myGS(x,y)
fractional(myGS(x,y))

Run the code above in your browser using DataLab