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[SelectInRange] - select data items in a given range
Statistics[RemoveInRange] - remove data items in a given range
Calling Sequence
SelectInRange(X, R, options)
RemoveInRange(X, R, options)
Parameters
X
-
data sample
R
data range
options
(optional) equation of the form include=value
Description
The SelectInRange function selects all items from X which belong to the specified range R and returns them in a new data sample with the same options as X.
The first parameter X is a data sample which must given as an Array or a list.
The second parameter R is the range. By default the range R is considered closed from the left and open from the right. This can be changed using the include option.
The RemoveInRange function does the opposite of SelectInRange. It removes all data items from X which belong to the range R.
Options
The options argument can contain the following option:
include=left, right or [left, right] -- Specify whether the endpoints should be included in the interval. By default, the interval defined by R is considered closed on the left and open on the right.
Notes
Each element of X can be any Maple expression, but this expression must be able to be evaluated to a floating-point number. Failure to do so will generate an error.
The SelectInRange and RemoveInRange commands leave the original data set X unchanged.
Examples
See Also
Statistics, Statistics[Computation], Statistics[Remove], Statistics[RemoveNonNumeric], Statistics[Select], Statistics[SelectNonNumeric]
Download Help Document