Learn R Programming

campsis (version 1.7.0)

getColumn: Get data of given column unless if does not exist (return NULL in that case).

Description

Get data of given column unless if does not exist (return NULL in that case).

Usage

getColumn(.data, colname)

Value

a vector

Arguments

.data

data frame

colname

column name