search for: showtreecall

Displaying 1 result from an estimated 1 matches for "showtreecall".

2009 Mar 06
0
Bug in codetools ?
...(model.matrix mtmf contrasts) (matrix Error in typeof(e) : element 1 is empty; the part of the args list of '.Internal' being evaluated was: (x) The problem seems to happen because of the call to matrix with a missing argument in glm: matrix(, NROW(Y), 0L) The fix is to rewrite showTreeCall like this : showTreeCall <- function (e, w) { w$write("(") walkCode(e[[1]], w) for (a in as.list(e[-1])) { if( !missing(a)){ w$write(" ") walkCode(a, w) } } w$write(")") } > version...