Displaying 1 result from an estimated 1 matches for "numofcols".
Did you mean:
num_cols
2011 Nov 11
0
mc.cores and computer settings on osx and linux
...ction is
### wrapped, too.
###
### the output is ONE matrix, whose row-names are the categories.
################################################################
check.output <- function( mc.rv ) {
## check that we have a list of matrices, and that each matrix has
the same number of columns
numofcols <- (-1)
for (i in 1:length(mc.rv)) {
if (is.null(mc.rv[[i]])) next;
if (! (is.matrix(mc.rv[[i]])|is.data.frame(mc.rv[[i]])) )
abort("iaw-mc.R:check.output: Element", i, "is not a
matrix/dataframe, but a ", whatis(mc.rv[[i]]))
if (numofcols<0) numofcols...