math.statistics: fix a few typos in docs
parent
e8ce62c64e
commit
8b1fbbf3b7
|
@ -95,14 +95,14 @@ HELP: histogram!
|
||||||
"H{ { 97 9 } { 98 2 } { 99 2 } }"
|
"H{ { 97 9 } { 98 2 } { 99 2 } }"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{ $description "Takes an existing hashtable and uses " { $link histogram } " to continue counting the number of occurences of each element." } ;
|
{ $description "Takes an existing hashtable and uses " { $link histogram } " to continue counting the number of occurrences of each element." } ;
|
||||||
|
|
||||||
HELP: sorted-histogram
|
HELP: sorted-histogram
|
||||||
{ $values
|
{ $values
|
||||||
{ "seq" sequence }
|
{ "seq" sequence }
|
||||||
{ "alist" "an array of key/value pairs" }
|
{ "alist" "an array of key/value pairs" }
|
||||||
}
|
}
|
||||||
{ $description "Outputs a " { $link histogram } " of a sequence sorted by number of occurences from lowest to highest." }
|
{ $description "Outputs a " { $link histogram } " of a sequence sorted by number of occurrences from lowest to highest." }
|
||||||
{ $examples
|
{ $examples
|
||||||
{ $example "USING: prettyprint math.statistics ;"
|
{ $example "USING: prettyprint math.statistics ;"
|
||||||
""""abababbbbbbc" sorted-histogram ."""
|
""""abababbbbbbc" sorted-histogram ."""
|
||||||
|
|
Loading…
Reference in New Issue