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

plotLoadings, absolute scale #152

Merged
merged 2 commits into from
Oct 6, 2024
Merged

plotLoadings, absolute scale #152

merged 2 commits into from
Oct 6, 2024

Conversation

TuomasBorman
Copy link
Contributor

Now loadings can be visualized with barplot also in absolute scale. That is the default choice.

The reason is that original scale takes too much space since values can be negative and positive. Moreover, the effect size cannot be easily compared between positive and negative values (that is the most important info)

image

In absolute scale, there the comparison is easier. +/- shows whether the value is positive or negative

image

@TuomasBorman TuomasBorman merged commit 1a4ce5e into devel Oct 6, 2024
3 checks passed
@TuomasBorman TuomasBorman deleted the update_plotloadings branch October 6, 2024 16:47
@antagomir
Copy link
Member

How about distinguishing the positive vs. negative with a color instead?

@TuomasBorman
Copy link
Contributor Author

With colors, it seems to be easier to see +/-

image

@antagomir
Copy link
Member

Yes. You also sometimes see this done so in literatures.

Just thinking if the default should be lines instead of bars ("lolliplot plot")?

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

Successfully merging this pull request may close these issues.

2 participants