Skip to content
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

siarplotdata() for one group #6

Closed
VirginiaMorera opened this issue Feb 18, 2015 · 5 comments
Closed

siarplotdata() for one group #6

VirginiaMorera opened this issue Feb 18, 2015 · 5 comments
Labels

Comments

@VirginiaMorera
Copy link

Version: 4.2
I detected a possible bug in siarplotdata() for the single group version. Aparently takes the column of the grouping variable as the first isotope so siarplotdata(modeldemo, iso=c(1,2) produces
bugexample1
In my example N is the 1rst isotope, and siar is plotting it as the second, and "Code" as the first. As a consequence, the second isotope, C, gets plotted as the third like in siarplotdata(modeldemo, iso=c(2,3)
bugexample2
The sources are correctly plotted, and the axis values seem to correspond the the actual isotopic values of the sources, the problem is only in representing the consumers.

This is also an issue with only two isotopes, but it disappears in the multigroup version.

@AndrewLJackson
Copy link
Owner

great example illustrating. i will take a look when i get a chance, but its going to be April at the earliest I'm afraid.

@VirginiaMorera
Copy link
Author

Haven't had time to try it yet but this is probably fixed in version 4.2.2 as it fixes some bug regarding data from a single group of consumers?

@AndrewLJackson
Copy link
Owner

it might not be. i will try take a look tomorrow. Is this happening with the demo files too? https://github.com/AndrewLJackson/SIAR-examples-and-queries/tree/master/siar-mixing-models

@AndrewLJackson
Copy link
Owner

this works for me in the demo_script.r file using the geese1.txt consumer file in place of geese2.txt. Can you check it works for you and i will close this issue. thanks.

@VirginiaMorera
Copy link
Author

VirginiaMorera commented Oct 17, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants