7Managing Data Structure in R

Mittal Desai1* and Chetan Dudhagara2

1Smt. Chandaben Mohanbhai Patel Institute of Computer Applications, Charotar University of Science and Technology, Changa, Anand, Gujarat, India

2Dept. of Communication & Information Technology, International Agribusiness Management Institute, Anand Agricultural University, Anand, Gujarat, India

Abstract

The data structure allowed us to organize and store the data in a way that we needed in our applications. It helps us to reduce the storage space in a memory and fast access of data for various tasks or operations. R provides an interactive environment for data analysis and statistical computing. It supports several basic various data types that are frequently used in different calculation and analysis-related work. It supports six basic data types, such as numeric (real or decimal), integer, character, logical, complex, and raw. These basic data types are used for its analytics-related works on data. There are few more efficient data structures available in R, such as Vector, Factor, Matrix, Array, List, and Dataframe.

Keywords: Data structure, vector, factor, array, list, data frame

7.1 Introduction to Data Structure

R is an open-source programming language and software environment that is widely used as a statistical software and data analysis tool. R provides a wide variety of statistical and graphical techniques, including linear and nonlinear modeling, statistical tests, time-series analysis, classification, ...

Get Data Wrangling now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.