Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,11 +0,0 @@
|
|||
function mean ($x) {
|
||||
if ($x.Count -eq 0) {
|
||||
return 0
|
||||
} else {
|
||||
$sum = 0
|
||||
foreach ($i in $x) {
|
||||
$sum += $i
|
||||
}
|
||||
return $sum / $x.Count
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
function mean ($x) {
|
||||
if ($x.Count -eq 0) {
|
||||
return 0
|
||||
} else {
|
||||
return ($x | Measure-Object -Average).Average
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue