dat2ddc {svs} | R Documentation |
Transform a Data Frame into a Double-Coded Matrix
Description
A helper function for transforming all columns of a data frame into a double-coded matrix.
Usage
dat2ddc(dat, limits = NULL)
dat2dc(dat, limits = NULL)
Arguments
dat |
A data frame containing only numeric vectors or ordered factors as columns. |
limits |
A vector, matrix or list specifying the lower and upper limits for the columns in |
Value
A matrix with doubly-coded columns.