This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (if any). If the result is a length-one vector, the names are taken from the first dimension with a dimname. Array subsetting ( [ ) performs this reduction unless used with drop = FALSE , but sometimes it is useful to invoke drop directly. See Also drop1 which is used for dropping terms in models. Examples dim(drop(array(1:12, dim=c(1,3,1,1,2,1,2))))# = 3 2 2 drop(1:3 %*% 2:4)# scalar product [Package base version 2.11.1 Index ]...
View Full Document
- Fall '10