Closed TobiasMadsen closed 8 years ago
Call to sapply gives vector of length nrow(data) for data.frame but a vector of length nrow(data)*ncol(data) for matrices.
if( ! suppressWarnings( all( sapply(data, max, na.rm = T) <= dfg$varDim) ) ) stop("Data outside range")
Call to sapply gives vector of length nrow(data) for data.frame but a vector of length nrow(data)*ncol(data) for matrices.