Right way to convert data.frame to a numeric matrix, when df also contains strings? March 28, 2023 by Tarik