matrix not seen as numeric R

Viewed 5406

So I converted my data frame to as.matrix(df):

m<-as.matrix(df)

But then:

> is.numeric(m)
[1] FALSE

I even tried to see if a certain single factor in the matrix is numeric:

> is.numeric(m[15,15])
[1] FALSE

Anyone else had this happen?

2 Answers
Related