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 19, 2017, 7:24 a.m.

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.