easystats 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/easystats/version.rb +1 -1
- data/lib/easystats.rb +2 -0
- metadata +3 -3
data/README
CHANGED
data/lib/easystats/version.rb
CHANGED
data/lib/easystats.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
class Array
|
2
|
+
|
2
3
|
# take in an array of numbers and calculate the sum
|
3
4
|
def sum
|
4
5
|
data = self
|
@@ -27,6 +28,7 @@
|
|
27
28
|
0
|
28
29
|
end
|
29
30
|
end
|
31
|
+
alias_method :average, :mean
|
30
32
|
|
31
33
|
# this is an internat function (technically the developer can use it but should have no need)
|
32
34
|
# this function returns the sum of each squared difference of mean
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 7
|
9
|
+
version: 0.0.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Matthew Grigajtis
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-29 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|