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

Specifying jitter width is not working with visualisation_recipe #270

Open
dana-and-monsters opened this issue Feb 23, 2023 · 0 comments
Open

Comments

@dana-and-monsters
Copy link

There is an example in the documentation of visualisation_recipe along the lines of this:

  x <- estimate_means(lm(Sepal.Width ~ Species, data = iris))
  # Customize aesthetics
 layers <- visualisation_recipe(x,
    jitter = list(width = 0.03, color = "red")
plot(layers)

However I cannot adjust jitter width with this. I found a way to adjust jitter for now with the following:

layers<-visualisation_recipe(x, show_data = "point", point = list(position = position_jitter(width = .03))
plot(layers)
  • I am using this with estimation_relation instead of estimate_means
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

No branches or pull requests

1 participant