Bigger Data Structures (Introduction to Statistical Computing)

August 30, 2014
By

(This article was originally published at Three-Toed Sloth , and syndicated at StatsBlogs.)

Matrices as a special type of array; functions for matrix arithmetic and algebra: multiplication, transpose, determinant, inversion, solving linear systems. Using names to make calculations clearer and safer: resource-allocation mini-example. Lists for combining multiple types of values; access sub-lists, individual elements; ways of adding and removing parts of lists. Lists as key-value pairs. Data frames: the data structure for classic tabular data, one column per variable, one row per unit; data frames as hybrids of matrices and lists. Structures of structures: using lists recursively to creating complicated objects; example with eigen.

Slides

Introduction to Statistical Computing



Please comment on the article here: Three-Toed Sloth


Subscribe

Email:

  Subscribe