If columns are specified by the user, parse them and check that they are numeric. If not, return all numeric columns.
get_numeric_cols(obj, data, cols = NULL)
A taxmap object
The name of a table in obj
.
The names/indexes of columns in data
to use. By
default, all numeric columns are used. Takes one of the following inputs:
All/No columns will used.
The names of columns to use
The indexes of columns to use
Use the columns
corresponding to TRUE
values.