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

Description Usage Arguments Value Author(s)

View source: R/0_utils.R

Description

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

Usage

1
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.

Author(s)

kaiyin


CollapsABEL documentation built on May 29, 2017, 9:43 a.m.

Search within the CollapsABEL package
Search all R packages, documentation and source code