Data Structures in R

In this chapter, you will learn about the data structures of R and how to create and access its properties, and various operations related to a specific data structure. The following recipes will be covered in this chapter:

  • Creating a vector and accessing its properties
  • Creating a matrix and accessing its properties
  • Creating a data frame and accessing its properties
  • Creating an array and accessing its properties
  • Creating a list from a combination of vector, matrix, and data frames
  • Converting a matrix to a data frame and a data frame to a matrix
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset