Learn R Programming

scanstatistics (version 0.1.0)

get_column_values: Extract the values of a data.table column by the column name.

Description

This function extracts the values of a data.table column as a vector; the column name is supplied as a character.

Usage

get_column_values(table, colname)

Arguments

table

A data.table.

colname

The name of a column in the table.

Value

The values of the column as a vector.