SelectColumns | R Documentation |
Function to select column from a table, either by colnames or as range from the top or bottom.
SelectColumns(x, select = NULL, first.k = NA, last.k = NA)
x |
Matrix or dataframe from which columns will be extracted |
select |
A string containing a comma seperated list of the
names or indices of the columns to be selected. If an empty list is
supplied, then the whole of |
first.k |
If a number greater than zero is supplied,
The first (or up to) |
last.k |
If a number greater than zero is supplied,
The last (or up to) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.