Articles by Stephen James

User Defined Functions in R Exercises (Part 1)

April 20, 2017 | Stephen James

In the Exercises we will discuss User Defined Function in R Answers to the exercises are available here. Exercise 1 Create a function to print square of number Exercise 2 Create a function to print a number raise to another with the one argument a default argument Exercise 3 Create a function to ... [Read more...]

Data Structures Exercises (Part 2)

April 12, 2017 | Stephen James

In the Exercises we will cover Hashes, Factors and Zoo in R Answers to the exercises are available 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 Create Hash of an Employee with the Name, ... [Read more...]

Data Structures Exercises (Part-1)

April 7, 2017 | Stephen James

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. Exercise 1 Create an atomic vector of Character […] ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)