You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using extract() with fun=table to tabulate raster values for each polygon (and raw=FALSE) I get a data.frame with two columns, in which the second column is a matrix, rather than a data.frame with as many columns as raster classes +1.
See example below
To fix issue rspatial#1294
when using extract() with fun = table and exact = FALSE, the output was a 2-column data.frame, with a matrix in the second column.
This should fix the issue.
When using extract() with fun=table to tabulate raster values for each polygon (and raw=FALSE) I get a data.frame with two columns, in which the second column is a matrix, rather than a data.frame with as many columns as raster classes +1.
See example below
The text was updated successfully, but these errors were encountered: