Statistics[SelectNonNumeric] - select non-numeric values
Statistics[RemoveNonNumeric] - remove non-numeric values
|
Calling Sequence
|
|
SelectNonNumeric(X, options)
RemoveNonNumeric(X, options)
|
|
Parameters
|
|
X
|
-
|
one-dimensional rtable; data sample
|
options
|
-
|
(optional) equation of the form exclude=value
|
|
|
|
|
Description
|
|
•
|
The SelectNonNumeric function selects non-numeric items from X and returns them in a new data sample. Note, that an expression X is considered non-numeric if does not return a floating-point number. Numeric items are discarded in the newly created data sample.
|
•
|
The first parameter X is a data sample which must given as an Array or a list.
|
•
|
The RemoveNonNumeric function does the opposite of SelectNonNumeric. It removes the non-numeric values from X.
|
|
|
Options
|
|
|
The options argument can contain one or more of the options shown below.
|
•
|
exclude=infinity, undefined, or [infinity, undefined] -- By default, undefined and infinity are considered non-numeric. This can be changed by adding infinity or undefined or both to the exclude list. Thus, exclude=undefined means that infinity should still be considered numeric but undefined should not.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
|
|
Download Help Document
Was this information helpful?