expression x | The value for which to find the z-score. |
expression mean | The mean of the set of numbers. |
expression stdev | The standard deviation of the set of numbers. |
nerdamer.setVar('x', '[3,1,2,6]');
var x = nerdamer('zscore(2, mean(x), stdev(x))');
console.log(x.toString());
x = x.evaluate()
console.log(x.text());