search for: array_keys

Displaying 2 results from an estimated 2 matches for "array_keys".

2010 Dec 04
1
what is this averaging function called ?, has R a built in function for it ?
...values that will be put on x or 0 axis are made unique with every y or 1 # value is going into array under x/0 it will be used after to make mean arithmetic, geometric or harmonic foreach ($csv[0] as $k=>$x) { $sum[$x][] = $csv[1][$k]; } #the x values are put on other array for later use $x = array_keys($sum); $rang = $sum = array_values($sum); #and here is the key feature, to smooth the line the function looks for (in this case) 500 values above and beond given value # if they exist of course, the search stops when search goes outside the array # the search also stop when number of gathered valu...
2005 Apr 04
0
io timeout after 180 seconds
...guation not specified' . "\n"); ~ showUsage($args[0]); ~ exit; } // grab the config names from the command line $a_configNames = explode(',', $options[1][0]); // ALL is a special keyword to run all backups if ($a_configNames[0] == 'ALL') { ~ $a_configNames = array_keys($a_backupHosts); } if ($b_reinit) { ~ reInitBackups(); ~ exit; } if (empty($options[1][1])) { ~ writeln('Error: Backup type not specified' . "\n"); ~ showUsage($args[0]); ~ exit; } // grab the backup type from the command line $s_backupType = $options[1][1]; if...