-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plot.mcmc does not work with masked raster layers #26
Comments
Hi, I was about to report the same issue. Now that @RS-eco mentions the matrix conversion, I found that the function seems to work properly if we disable the line Also, there seems to be a disagreement in the name of the function ( Otherwise it seems to work, thanks Colin for another great function! |
Thanks, yes disabling the specified line works. |
I'm also getting an issue with plot.mcmc both in the vignette and in my own project. I get the following error for all lines using it:
I tried
Was this function removed from the package? |
The plot.mcmc() function works fine for the example provided, but if the raster input dataset is not a simulated squared-raster layer but a masked raster layer (i.e. South America) the output of the plot.mcmc() function is meaningless.
I probably has something to do with the matrix conversion in the beginning of the function.
Here is a reproducible example of the problem:
The text was updated successfully, but these errors were encountered: