covariables: concatenation of the rownames of X and of the response vector Y.
Description
concatenation of the rownames of X and of the response vector Y.
Usage
covariables(X, Y)
Arguments
X
the matrix (or data.frame) of covariates, dimension n*p (n is the sample size, p the number of covariates). X must have rownames, which are the names of the n subjects (i.e. the user ID of the n subjects).
Y
the vector of the response, length n.
Value
a data.frame with dimension n*2: the first column gives the names of the subjects, and the second column is Y.
Details
internal function. Concatenation of the rownames of X (X is the matrix n*p of the covariates), and of the response vector Y. X must have rownames, which are the names of the n subjects (i.e. the user ID of the n subjects).