search for: stepz

Displaying 2 results from an estimated 2 matches for "stepz".

Did you mean: step
2002 Nov 25
3
Full enumeration, how can this be vectorized
...someone kindly give me a hint how this could be implemented? Thanks a lot, Daniel Code Snippet: fullEnumeration <- function(par, stepSize = c(.03, .03, .03)) { res <- Inf best.x <- -1 best.y <- -1 best.z <- -1 stepx <- stepSize[1] stepy <- stepSize[2] stepz <- stepSize[3] x <- seq(.01, 2, by=stepx) y <- seq(.01, 2, by=stepy) z <- seq(.01, 15, by=stepz) for (i in 1:length(x)) for (j in 1:length(y)) for (k in 1:length(z)) { # Pass the current best result to the function being minimized to allow for early te...
2009 Feb 20
2
equivalent function to MatLab 'step' ?
I have to admit I don't fully understand how MatLab's step() function works, but I'm learning that part. Can someone point me to equivalent&related functions in R? thanks Carl