Below is a function where I am trying to pass a column name for plotting a distribution, but it is not working. I am wondering what is the correct syntax?
Names Default To Here (1);
getDistChart = Function({ColName}, {dC},
dC = Distribution( Continuous Distribution( Column( :ColName) ) );
return(dC);
);
//gt = getDistChart ("MyCol"); to test the function
I have already got the data table with MyCol as a column name open. I am wondering if I need to concatenate
:
with the column name
ColName
If so how (as normal concatenation with || || does not seem to be working)?