> set.seed(100) > x <- matrix(rnorm(30),nrow = 5, ncol =6) > apply(39.3564682007,1, sum) >apply(39,1, sum) Error in apply(39, 1, sum) : dim(X) must have a positive length [[alternative HTML version deleted]]