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

Place full-data predictor ranking and ranking proportions in plotting area of plot.vsel() (and repel them) #416

Merged
merged 5 commits into from May 22, 2023

Conversation

fweber144
Copy link
Collaborator

In #414, the full-data predictor ranking and the ranking proportions (if available) were added to the x-axis of the plot created by plot.vsel(). Here, new arguments ranking_repel and ranking_repel_args are added. When setting ranking_repel to NULL, the full-data predictor ranking and the corresponding ranking proportions are placed below the x-axis, as before. However, by setting ranking_repel to "text" or "label", they are placed within the plotting area using ggrepel::geom_text_repel() or ggrepel::geom_label_repel(), respectively. (Argument ranking_repel_args only serves the purpose of passing arguments to ggrepel::geom_text_repel() or ggrepel::geom_label_repel(), e.g., to set a seed for these.)

@fweber144 fweber144 merged commit c701209 into stan-dev:master May 22, 2023
@fweber144 fweber144 deleted the plot_repel branch May 22, 2023 11:15
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.

None yet

1 participant