SyntaxFix
Write A Post
Hire A Developer
Questions
Here is an alternative way if the data frame just contains numbers.
apply(as.matrix.noquote(SFI),2,as.numeric)
but the most reliable way of converting a data frame to a matrix is using data.matrix() function.
data.matrix()