search for: n_it

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

Did you mean: n_i
2011 Oct 18
1
Function in nested loop
...e multiple values and e, f, and g have only one value which is the same of every condition: e <- matrix(1, 3, 5, byrow = T) f <- data.matrix(c(0.33,0.33,0.34)) g1 <- c(1, 2, 3, 4, 5) g2 <- c(9, 8, 7, 6, 5) g3 <- c(2, 4, 6, 8, 10) g <- matrix(c(g1, g2, g3), 3,5, byrow = T) n_it <- 60 for (j in 1:n_it){ output <- function(x1=x1, a=a, b=b, d=d, e=e, f=f, g=g) } Can anyone help me with this? Thanks in advance, Iris