PHPackages                             mufuphlex/raqualizer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mufuphlex/raqualizer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mufuphlex/raqualizer
====================

Tool for adjusting values by given etalon and calculated ratios

0.1.0(10y ago)216GPL-2.0PHPPHP &gt;=5.3.9

Since Nov 22Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Mufuphlex/raqualizer)[ Packagist](https://packagist.org/packages/mufuphlex/raqualizer)[ RSS](/packages/mufuphlex-raqualizer/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

mufuphlex raqualizer
====================

[](#mufuphlex-raqualizer)

[![Build Status](https://camo.githubusercontent.com/24fa8454f1fba2316e26d29488afbbd7b2d5dd99ca48be43cf97a0a4ba8b7577/68747470733a2f2f7472617669732d63692e6f72672f4d75667570686c65782f72617175616c697a65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Mufuphlex/raqualizer)[![Latest Stable Version](https://camo.githubusercontent.com/a29b908664fa150c22592ad2e517d61ce2d24ff2e99a1444a3c55ed433cd0c44/68747470733a2f2f706f7365722e707567782e6f72672f6d75667570686c65782f72617175616c697a65722f762f737461626c65)](https://packagist.org/packages/mufuphlex/raqualizer)[![License](https://camo.githubusercontent.com/9f456a1afb9469622df0a5550569c31e0ff3bd33d86a146504536d79a3317ba8/68747470733a2f2f706f7365722e707567782e6f72672f6d75667570686c65782f72617175616c697a65722f6c6963656e7365)](https://packagist.org/packages/mufuphlex/raqualizer)

Tool for adjusting values by given etalon and calculated ratios

`Raqualizer` is useful when you have some data from the different sources, and you need to correct one data set in accordance to another one, but want to keep the new values in the old proportion.

Example
-------

[](#example)

Let's imagine you have two independent sources of statistics containing data about traffic, say *clicks* and *price*.

The second source has less detailed statistics, but assumed to be the key source of the *price* value.

The first source is more detailed (e.g., it contains detailed data about *clicks* and *price* by traffic types), but the *price* value there is not the same like in the second source.

`Raqualizer` will help you to edit the first data source values in accordance to the second one:

```
