Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Statistics[Select] - select data items satisfying a condition
Statistics[Remove] - remove data items satisfying a condition
Calling Sequence
Select(func, X)
Remove(func, X)
Parameters
func
-
boolean-valued procedure
X
data sample
options
(optional) extra arguments to func
Description
The Select function selects the items data[i] for which returns true, and creates a new data sample with the same options as X. Those items for which func does not return true are discarded in the newly created data sample.
The first parameter func must be a boolean valued procedure.
The second parameter X is a data sample which must given as an Array or a list.
The Remove function does the opposite of Select. It removes the data items of X which satisfy func and creates a new data set.
Examples
See Also
Statistics, Statistics[Computation], Statistics[RemoveInRange], Statistics[RemoveNonNumeric], Statistics[SelectInRange], Statistics[SelectNonNumeric]
Download Help Document