New answers tagged

0

Answer from @maximilian-press, converted from comment: Sometimes casting to as.numeric() will convert from two-dimensional matrix to one-dimensional vector. Based on the output you put into comments (which would be helpful in the question), I wonder if this has occurred and caused an issue. For data.matrix, I suggest reading docs for that function- it should ...


Top 50 recent answers are included