I am trying to construct a local from a mata vector of strings. Unfortunately, st_local(lname,lvalue) demands a scalar for both arguments. That's why I'm looking to perform the operation in the title.
I know that I can construct the object in the title in a loop, but am wondering if there is a built-in analogue to Reduce(binary_function, vector) available in other languages...? (That's the exact syntax for the function in R, but I think Reduce comes from elsewhere in computer science.)
I know that I can construct the object in the title in a loop, but am wondering if there is a built-in analogue to Reduce(binary_function, vector) available in other languages...? (That's the exact syntax for the function in R, but I think Reduce comes from elsewhere in computer science.)
Comment