Skip navigation
All Places > All Things PI - Ask, Discuss, Connect > Ideas

Provide Enumerated Values for Named Arguments for Analysis Functions

score 1
You have not voted Submitted
Originally posted on UserVoice

Provide Enumerated Values for Named Arguments for Analysis Functions

For functions with arguments that have named values, provide enumerated choices (not AF enumeration but analysis native)

For instance, the LinRegr function returns an array of results (slope, intercept..).   Rather than specifying the number for the dimension of the array, here is example analysis code:

Name                            Expression
RegressionData1  |       LinRegr(‘Xvalues’,’Yvalues’,2, ‘t’,’*’)
Slope                     |       RegressionData1[LinRegr.Slope]
Intercept                |        RegressionData1[LinRegr.Intercept]


Comments