HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Vectors in R || Tutorial - 4: Selecting vector elements || Indexing vectors

806 views October 25, 2018 7:55

Watch on YouTube
ChannelR-programming Library

Description from the creator

This video tutorial provides extensive explanation one selecting vector elements (or indexing) of a vector in R.

About this tutorial

R-programming Library published this 7:55 video tutorial on October 25, 2018. It has been watched 806 times on YouTube.

Category
Education
Duration
7:55
Published
October 25, 2018
Views
806
Likes
3

Tags

Share

Further reading

  • R Vector - How to Create, Combine and Index Vectors in R ... techvidvan.com

    When using negative integral vectors, R removes the denoted elements and returns the remaining as the result. Code: > negint_vec <- vec[c(-2,-4)] > negint_vec. Output: 4. Character indexing vectors. We use a character v…

  • 7. Indexing Into Vectors — R Tutorial cyclismo.org

    7.1. Indexing With Logicals ¶. We first give an example of how to select specific items in a vector. The first step is to define a vector of data, and the second step is to define a vector made up of logical values.

  • R - Vectors - Tutorialspoint tutorialspoint.com

    Accessing Vector Elements. Elements of a Vector are accessed using indexing. The [ ] brackets are used for indexing. Indexing starts with position 1. Giving a negative value in the index drops that element from result.T…

This tutorial in other languages