What are Matrices in R? Matrices in R are vectors in two dimensions. A matrix comprises of a rectangular layout of homogeneous data-type members arranged in rows and columns. Most often you will find yourself dealing with matrix of numerics, though you can have a matrix of any R object. For example, following is a […]

## Basic Data Structures I: Vectors in R

Vectors are the most frequently used data structures. Vectors in R are as fundamental as arrays in C and PHP, cons in Lisp, lists in Python, and classes in Java. What are Vectors in R? N.B. This article assumes that you have complete understanding of basic data types in R. If you don’t, read atomic […]

## Atomic or Basic Data Types and Scalars in R

There are six prominent basic data types in R. In this article we will look at typing system in R, the six atomic types and how to discover types at runtime. R is a special programming language because it’s a special purpose programming language. R is designed and implemented bottom-up for staistical analysis. Since statistical […]