Skip to Content
R: Unleash Machine Learning Techniques
book

R: Unleash Machine Learning Techniques

by Raghav Bali, Dipanjan Sarkar, Brett Lantz, Cory Lesmeister
October 2016
Beginner to intermediate
1123 pages
26h 44m
English
Packt Publishing
Content preview from R: Unleash Machine Learning Techniques

Data structures in R

Here we will be looking at the most useful data structures which exist in R and use using them on some fictional examples to get a better grasp on their syntax and constructs. The main data structures which we will be covering here include:

  • Vectors
  • Arrays and matrices
  • Lists
  • Data frames

These data structures are used widely inside R as well as by various R packages and functions, including machine learning functions and algorithms which we will be using in the subsequent chapters. So it is essential to know how to use these data structures to work with data efficiently.

Vectors

Just like we mentioned briefly in the previous sections, vectors are the most basic data type inside R. We use vectors to represent anything, be it input or ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Semi-Supervised and Unsupervised Machine Learning: Novel Strategies

Semi-Supervised and Unsupervised Machine Learning: Novel Strategies

Amparo Albalate, Wolfgang Minker
Strategies in Biomedical Data Science

Strategies in Biomedical Data Science

Jay A. Etchings, Ken Buetow

Publisher Resources

ISBN: 9781787127340Purchase Link