RemCol function

Removes a column from a table


Description

The RemCol function removes one or more columns from the specified index from a table.


Remove a column

To remove a single column, the first argument is the table and the second argument is the column number. The result is a new table from which the specified column was removed.


Syntax

RemCol (table, column)


Remove multiple columns

Optionally, the third argument is the number of columns to be removed. The result is a new table from which the specified columns have been removed.


Syntax

RemCol (table, column, number)


Examples


Columns functions

ClrCol Deletes a column
Cols Number of columns in a table
ColSums Sums of the values of each column
GetCol Copies the column of a table or part of it
RemCol Removes columns from a table