Skip to content
Browse files

Fix README typos

  • Loading branch information...
1 parent a78f37e commit 85f22d87f66d068ae7a59b30eafc15c3584d8d11 @matthayes matthayes committed Jan 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -32,7 +32,7 @@ Compute the [median](http://en.wikipedia.org/wiki/Median) of sequence of sorted
-- produces median of 3
medians = FOREACH grouped {
sorted = ORDER input BY val;
- GENERATE Median(sorted);
+ GENERATE Median(sorted.val);
}
Similarly, compute any arbitrary [quantiles](http://en.wikipedia.org/wiki/Quantile):
@@ -47,7 +47,7 @@ Similarly, compute any arbitrary [quantiles](http://en.wikipedia.org/wiki/Quanti
-- produces: (1,5.5,10)
quantiles = FOREACH grouped {
sorted = ORDER input BY val;
- GENERATE Quantile(sorted);
+ GENERATE Quantile(sorted.val);
}
### Set Operations

0 comments on commit 85f22d8

Please sign in to comment.
Something went wrong with that request. Please try again.