Here is a sample code I\'m stuck in.
I define a function. Input a number x, output a vector vec
x
vec
fct <- function(x){ vec = ve