I want to use NMaximize to find the maximum value of a function with multiple variables. The problem is I would like to set this up so the number of variables is only decided when the function sees the data. So I have:
when there are data from two genes. But would like the function to be
if there are 3 genes...etc Any way to set this?