## R | Slicing and Extracting Data

Indexing Vectors x[n] nth element x[-n] all but the nth element x[1:n] first n elements x[-(1:n)] elements from n+1 to the end x[c(1,4,2)] specific elements x[&...

Skip to content
# Tag: Lists

## R | Slicing and Extracting Data

Indexing Vectors x[n] nth element x[-n] all but the nth element x[1:n] first n elements x[-(1:n)] elements from n+1 to the end x[c(1,4,2)] specific elements x[&...

## R Objects: Data Types

Helping Others with Data.

OBJECTS R has five basic classes of objects: Character Numeric Integer Complex Logical However, the most basic object is a vector. There are two things which yo...