I converted some columns from my dataset into factor levels to conduct analysis. How can I view the definitions of the factor levels which now inhabit my matrix? Are the original names lost? I used the following command on dtafactor, which is a matrix object.
dtafactor[,4:9]=factor(dtafactor[,4:9])