Matrix (R)

« Back to Glossary Index

A R, una matriu és una col·lecció d’elements del mateix tipus de dades (numèrics, de caràcters o lògics) disposats en un nombre fix de files i columnes. Com que només es treballa amb files i columnes, una matriu s’anomena bidimensional.

In R, a matrix is a collection of elements of the same data type (numeric, character, or logical) arranged into a fixed number of rows and columns. Since you are only working with rows and columns, a matrix is called two-dimensional.

« Back to Glossary Index