![]() |
Language Reference » Dataset functions » getSeriePercentile
|
|
Latest updates
Toolbox
Google AdSense
|
getSerieAverage - Return the xth percentile of the given serie This function will return you the xthpercentile of the given serie. Calling this function
getSeriePercentile($Serie="Serie1",$Percentil=95); Where : Serie is the name of the serie.
Percentil is the percentil required. Sample script /* Create the pData object */ $MyData = new pData(); /* Add some points to "My serie 1" */ $MyData->addPoints(array(1,2,3,4),"My serie 1"); /* Display the 95th percentil of "My serie 1" */ echo $MyData->getSeriePercentile("My serie 1"); This will display 4.
© Copyrights
Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has
been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 413 users have registered.
This page has been rendered in 0,01 seconds. Wiki revision 1.37.
|