a vector of column numbers to be converted to dummy variables.
Value
A matrix with variables converted when needed.
Details
If convert is given the algorithm will convert these column numbers to dummy variables. Otherwise it will convert all columns with characters as values.