An R Introduction to Statistics

R Introduction

An introduction to R concepts and data structures.

Numeric Index Vector

A tutorial on how to create slices of a vector with numeric index vectors. Explains also the situation of duplicate and out-of-order indexes. Also discussed the technique of retrieving a range of vector members with the range index.

Vector Index

A tutorial on how to retrieve vector members with the square bracket operator. Discuss also the situations of negative and out-of-range indexes.

Vector

A tutorial on the concept of vectors in R. Discuss how to create vectors of numeric, logical and character string data types.