This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:functions:valuemean [20.01.2015 18:04] – created alexander.ritter | en:create:functions:valuemean [21.01.2015 12:30] – [valueMean()] alexander.ritter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== valueMean() ====== | ====== valueMean() ====== | ||
- | '' | + | '' |
- | '' | + | '' |
- | '' | + | '' |
- | Berechnet das arithmetische Mittel | + | Calculates the mean (average, expectation value) of the answer codes for all items in a question |
- | * //Frage// -- Die Kennung einer Frage (als String) | + | * //question// -- ID of a question |
- | * //Items// -- Eine Liste (String oder Array) von Items | + | * //items// -- A list (string or array) of items |
- | * //Variablen// -- Eine Liste (Array) von Variablen-Kennungen entsprechend der **Variablen-Übersicht** | + | * //variables// -- A list (array) of variable IDs as written in the **Variables Overview** |
- | **Hinweis:** Die Verwendung funktioniert analog zu '' | + | **Note** This works in the same way as '' |
- | ===== Beispiel | + | ===== Example |
+ | |||
+ | In the following example, question " | ||
- | Im folgenden Beispiel wird Frage " | ||
<code php> | <code php> |