Greetings,
When using LinRegXY, the documentation says that one should be able to define the number of iterations, the starting iteration and the increment.
However, trying something like
Eval(LinRegXY("Series1","Series2", 100, 0, 10), Slope ,NA)
gives ERROR: Invalid criteria in Rule 1. Error near ')': LinRegXY - Too many parameters.
Eval(LinRegXY("Series1","Series2", 100), Slope ,NA)
, without the start and increment, does work.
See for example my screen with ID 307343.
Thanks
marco
February 17, 2025, 2:41pm
2
While the documentation defines it as having 2 optional parameters
LinRegXY("X-Formula(CTR)", "Y-Formula(CTR)", iterations[, start, increment])
That is not the case in the code. The code only supports 3 parameters. You should be able to work around it by including the increment in your formula, like replace "CTR" with "(CTR*10)"
We'll have a fix shortly. Thanks for reporting it.
2 Likes
marco
February 23, 2025, 12:59am
3
LinRegXY optional parameters should be ok now.
1 Like