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

ggscatter label.sep not working? #150

Closed
sbbmu opened this issue Jan 18, 2019 · 2 comments
Closed

ggscatter label.sep not working? #150

sbbmu opened this issue Jan 18, 2019 · 2 comments

Comments

@sbbmu
Copy link

sbbmu commented Jan 18, 2019

Want to print R and p values in two lines in ggscatter. Sample code generated one line, ignored label.sep argument.

ggscatter(mtcars, x = "wt", y = "mpg",
          shape = 21, size = 3, # Points color, shape and size
          add = "reg.line",  # Add regressin line
          cor.coef = TRUE, # Add correlation coefficient. see ?stat_cor
          cor.coeff.args = list(method = "pearson", label.x = 3, label.sep = "\n")
)

image

@dchiu911
Copy link

dchiu911 commented Mar 5, 2019

Any follow-up here? Experiencing the same issue

@kassambara
Copy link
Owner

fixed now, thanks

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

3 participants