I have a huge matrix of approximately 39000 rows and almost 80 columns. In R I am getting an error which says:
Error in matrix(1, nrow = n, ncol = 1) : non-numeric matrix extent
When I did typeof(matrix)
it gave me "double". Is there any way to find out what and where the problem is and any solution to the error?
n
and create your matrix? It looks liken
isn't an integer, perhaps. – mathematical.coffee