Learn R Programming

wrMisc (version 1.15.3.1)

.checkConvt2Vect: Convert to simple vector (similar to unlist)

Description

This function allows converting 'dat' (may be list, data.frame etc) to simple vector, more elaborate than unlist()

Usage

.checkConvt2Vect(dat, toNumeric = TRUE)

Value

character (or numeric) vector

Arguments

dat

(list, data.frame) main input

toNumeric

(logical)

See Also

unlist; used in equLenNumber

Examples

Run this code
aa <- matrix(11:14, ncol=2)
.checkConvt2Vect(aa)

Run the code above in your browser using DataLab