R version 2.15.2 (2012-10-26) -- "Trick or Treat" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- array(list(3.57,116.96,116.70,3.85,117.40,116.90,3.49,117.52,117.15,3.65,118.25,117.53,3.66,118.97,118.04,3.37,119.01,118.44,3.18,118.99,118.81,2.81,119.15,119.03,2.26,119.00,119.04,2.32,119.21,119.09,2.86,119.47,119.21,2.76,119.52,119.30,2.79,119.87,119.52),dim=c(3,13),dimnames=list(c('inflatie','gezondheidsindex','afgevlakte','index '),1:13)) Error in array(list(3.57, 116.96, 116.7, 3.85, 117.4, 116.9, 3.49, 117.52, : length of 'dimnames' [1] not equal to array extent Execution halted