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

Adjust smooth line only in ggduo #508

Open
Sibojang9 opened this issue Dec 15, 2024 · 0 comments
Open

Adjust smooth line only in ggduo #508

Sibojang9 opened this issue Dec 15, 2024 · 0 comments

Comments

@Sibojang9
Copy link

Anyway to adjust the smooth line size, color only or complete remove it? I looked around, but could not find instruction. For example, I want the smooth line to be red.

Other options either adjust the dots or adjust dots and smooth line at the same time.

Sample code and figure:

ggduo(
  psychademic, c("locus_of_control", "self_concept" ),c ( "read","math") ,
  types = list(continuous = "smooth_lm"),
  title = "Between Academic and Psychological Variable Correlation",
  xlab = "Psychological",
  ylab = "Academic"
)

2466

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