O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

You can practice the following exercises to help you get a good grasp of the concepts learned in this chapter:

  • Write a function called simon.says that takes in a character string and returns that string in all uppercase after prepending the string Simon says: to the beginning of it.
  • Write a function that takes two matrices as arguments and returns a logical value representing whether the matrices can be matrix multiplied.
  • Find a free dataset on the web, download it, and load it into R. Explore the structure of the dataset.
  • Reflect upon how Hester Prynne allowed her scarlet letter to be decorated with flowers by her daughter in the novel, The Scarlet Letter: A Romance. To what extent is this indicative of Hester's recasting of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required