Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
x <- 1:12 ; dim(x) <- c(3,4)
x
# simple versions of nrow and ncol could be defined as follows
nrow0 <- function(x) dim(x)[1]
ncol0 <- function(x) dim(x)[2]
# }
Run the code above in your browser using DataLab