I have made following for loop and i got 10 values, but i need to transfer those values into a vector. How can i do it? I need to box plot those values.
oma <- function(y){
x <- 6.1
(x^y*exp(-x))/funktio(y)
}
oma(10)
y <- 1:10
for(i in y)
print(oma(i))