Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Statistics[Tally] - compute absolute frequencies
Calling Sequence
Tally(X, options)
Parameters
X
-
data sample
options
(optional) equation(s) of the form option=value where option is one of weights or output; specify options for the Tally function
Description
The Tally function returns a table of distinct elements in X together with their frequencies. (See also Statistics[TallyInto]).
The first parameter X is the data set, which must be a one-dimensional rtable (e.g. Array or Vector).
Options
The options argument can contain one or more of the options shown below.
output=list or table -- Set the type of output returned. The default value is list. In either case, the output consists of equations of the form element=frequency.
weights=Array or list -- A vector of weights (one dimensional rtable). If weights are given, the Tally function will return distinct elements in X paired with their cumulative weights. Note that the weights provided must have type[realcons] and the returned frequencies are floating-point, even if the problem is specified with exact values. Both the data array and the weights array must have the same number of elements.
Notes
If the value of the output option is set to output=list, the order of elements in the list is session dependent.
Examples
See Also
Statistics, Statistics[Computation], Statistics[FrequencyTable], Statistics[Sort], Statistics[TallyInto]
Download Help Document