@@ -31,7 +31,7 @@ |
||
31 | 31 | { |
32 | 32 | |
33 | 33 | $this->setType($type); |
34 | - try { |
|
34 | + try { |
|
35 | 35 | $this->setBinOptions($binOptions); |
36 | 36 | } catch (\PEAR_Exception $e) { |
37 | 37 | // Falling back to default options |
@@ -18,8 +18,8 @@ discard block |
||
18 | 18 | */ |
19 | 19 | const STATS_BASIC = 1; |
20 | 20 | /** |
21 | - * STATS_FULL to generate also higher moments, mode, median, etc. |
|
22 | - */ |
|
21 | + * STATS_FULL to generate also higher moments, mode, median, etc. |
|
22 | + */ |
|
23 | 23 | const STATS_FULL = 2; |
24 | 24 | |
25 | 25 | // Constants describing the data set format |
@@ -29,11 +29,11 @@ discard block |
||
29 | 29 | */ |
30 | 30 | const STATS_DATA_SIMPLE = 0; |
31 | 31 | /** |
32 | - * STATS_DATA_CUMMULATIVE for an associative array of frequency values, |
|
33 | - * where in each array entry, the index is the data point and the |
|
34 | - * value the count (frequency): |
|
35 | - * e.g. $data = array(3=>4, 2.3=>5, 1.25=>6, 0.5=>3) |
|
36 | - */ |
|
32 | + * STATS_DATA_CUMMULATIVE for an associative array of frequency values, |
|
33 | + * where in each array entry, the index is the data point and the |
|
34 | + * value the count (frequency): |
|
35 | + * e.g. $data = array(3=>4, 2.3=>5, 1.25=>6, 0.5=>3) |
|
36 | + */ |
|
37 | 37 | const STATS_DATA_CUMMULATIVE = 1; |
38 | 38 | |
39 | 39 | // Constants defining how to handle nulls |
@@ -43,14 +43,14 @@ discard block |
||
43 | 43 | */ |
44 | 44 | const STATS_REJECT_NULL = -1; |
45 | 45 | /** |
46 | - * STATS_IGNORE_NULL, ignore null values and prune them from the data. |
|
47 | - * Any non-numeric value is considered a null in this context. |
|
48 | - */ |
|
46 | + * STATS_IGNORE_NULL, ignore null values and prune them from the data. |
|
47 | + * Any non-numeric value is considered a null in this context. |
|
48 | + */ |
|
49 | 49 | const STATS_IGNORE_NULL = -2; |
50 | 50 | /** |
51 | - * STATS_USE_NULL_AS_ZERO, assign the value of 0 (zero) to null values. |
|
52 | - * Any non-numeric value is considered a null in this context. |
|
53 | - */ |
|
51 | + * STATS_USE_NULL_AS_ZERO, assign the value of 0 (zero) to null values. |
|
52 | + * Any non-numeric value is considered a null in this context. |
|
53 | + */ |
|
54 | 54 | const STATS_USE_NULL_AS_ZERO = -3; |
55 | 55 | |
56 | 56 | // properties |