In the Exercises we will cover Hashes, Factors and Zoo in R Answers to the exercises are available here. For other parts of this series please follow the tag: here Exercise 1 Create a Hash based Key Value Pairs with three employees, with Employees as the key and the name as the values. Exercise 2 […]
data structures
Data Structures Exercises (Part-1)
R Programming has various Data Structures for efficient manipulation of Data. Following are the list of data structures supported by R. 1. Vectors 2. Lists 3. Matrix 4. Data frame This exercise helps through various operations of R Data structures. Answers to the exercises are available here. For other parts of this series please follow […]
Data Structures Exercises
There are 5 important basic data structures in R: vector, matrix, array, list and dataframe. They can be 1-dimensional (vector and list), 2-dimensional (matrix and data frame) or multidimensional (array). They also differ according to homogeneity of elements they can contain: while all elements contained in vector, matrix and array must be of the same […]