search for: saldor

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

Did you mean: sandor
2002 Jun 24
10
code optimization
I have a function "eval.delta" which does what I want but isn't very elegant. I have consulted the R documents, MASS, and S Programming. Is there a practical way to optimize the code? Thank you very much. Peter B. Function: eval.delta <- function(delta){ cat("VALUES\n") vlr <- NULL k <- 0 for(j in 1:length(delta)) if(delta[j] <= 2){