O'Reilly logo

R For Dummies, 2nd Edition by Joris Meys, Andrie de Vries

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

Chapter 7

Working in More Dimensions

In This Chapter

arrow Creating matrices

arrow Getting values in and out of a matrix

arrow Using row and column names in a matrix

arrow Performing matrix calculations

arrow Working with multidimensional arrays

arrow Putting your data in a data frame

arrow Getting data in and out of a data frame

arrow Working with lists

In the previous chapters, you worked with one-dimensional vectors. The data could be represented by a single row or column in a Microsoft Excel spreadsheet. But often you need more than one dimension. Many calculations in statistics are based on matrices, so you need to be able to represent matrices and perform matrix calculations. Many datasets contain values of different types for ...

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