Most of R's functions are vectorized, meaning that the function will operate on ... output_vector <- c() for (i in 1:4) { output_vector[i] <- x[i] + y[i] } ...
確定! 回上一頁