Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pat310 committed Jan 23, 2017
1 parent 06ceddf commit edf9f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function cbFunc(acc, curr, index, arr){
if(index === arr.length - 1) return acc / arr.length;
return acc;
}
var table = tableCreator(dataArray, ['gender'], ['house'], cbFunc, 0, 'average age');
var table = pivot(dataArray, ['gender'], ['house'], cbFunc, 0, 'average age');

console.log(table);
/*
Expand Down

0 comments on commit edf9f12

Please sign in to comment.