plot_statistics 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/plot_statistics/clam_plot.rb +3 -1
- data/plot_statistics.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
@@ -61,7 +61,9 @@ class PlotStatistics
|
|
61
61
|
end
|
62
62
|
|
63
63
|
k_t = AREA_OF_PLOT * sums / (number_of_clams ** 2)
|
64
|
-
|
64
|
+
|
65
|
+
expected = number_of_clams * Math::PI * (radius ** 2) / AREA_OF_PLOT
|
66
|
+
l_t = expected - Math.sqrt( k_t / Math::PI)
|
65
67
|
|
66
68
|
stats.k_ts << k_t
|
67
69
|
stats.l_ts << l_t
|
data/plot_statistics.gemspec
CHANGED