- 1

Did anybody heard about "computeStats" in javascript?please provide some examples if you do.

So far I know is used for stadistics

1st Apr 2022, 2:18 PM
Silvia Trujillano
1 Odpowiedź
0
Here is a example: const math = require('mathjs'); // Sample data const data = [2, 4, 6, 8, 10]; // Calculate the mean const mean = math.mean(data); console.log('Mean:', mean); // Calculate the standard deviation const stdDev = math.std(data); console.log('Standard Deviation:', stdDev); // Calculate other statistics as needed
30th Sep 2023, 7:13 PM
D1M3
D1M3 - avatar