CollapsABEL (version 0.10.11)

datToVec: Extract one row or column of a data frame as a vector

Description

Extract one row or column of a data frame as a vector

Usage

datToVec(dat, i, row = TRUE)

Arguments

dat
data.frame
i
row or column number
row
Logical. If TRUE, then i is the row number, otherwise i is the column number

Value

A vector.