Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 71

4.3.5 Arrays

Оглавление

Matrices are very useful, however there will be times that data has more dimensions than just two. R has a solutions with the base-type “array.” Unlike matrices that have always two dimensions, arrays can be of any number of dimensions. However, the requirement that all elements are of the same data-type is also valid for arrays.

array

Note that words like “array” are used as keywords in many computer languages, and that it is important to understand exactly how it is implemented in the language that you want to use. In this section we will introduce you to the practical aspects of working with arrays.

The Big R-Book

Подняться наверх