Multivariate Statistical Techniques
Vector Operations in R

R is an open-source Statistical that is rich in vector and mtrix operators. There are versions of R available for Windows, Mac OS and Unix that can be freely downloaded over the Internet.

Note: By default, R displays the elements of an array as a series of horizontal values. This is different from what we are used to in the lectures and in some of the other packages. Not to worry, all of the functions work in the correct manner.

The Vector

Is Something A Vector

"Transpose" of a Vector

Adding Vectors

Subtracting Vectors

Multiplication by a Scalar

Vector Dot Product

Length of a Vector

Unit Length Vector

The Unit Vector

Multivariate Course Page

Phil Ender, 23feb05