Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
devSJR :python: :rstats: boosted
Sascha Wolfer
@sascha_wolfer@fediscience.org  ·  activity timestamp 19 hours ago

#Rstats problems: Did you ever think that the dots for dotted lines are a bit too far apart per default? TIL that it's super easy to change this.

In #ggplot2, simply try something like:

scale_linetype_manual(
values = c(a = "dotted", b = "11")
)

The '11' means: 1 point for a dot, 1 point for a gap. Find out more here: https://stackoverflow.com/questions/25788945/how-to-define-more-line-types-for-graphs-in-r-custom-linetype

Stack Overflow

How to define more line types for graphs in R (custom linetype)?

There are 6 line types defined for plots in R defined as "dashed", "longdash" ... Link How can I define more types if I have more that 6 series to plot ? The graph lines can be
A graph with two dotted lines. The dots for one of the lines are much closer together.
A graph with two dotted lines. The dots for one of the lines are much closer together.
A graph with two dotted lines. The dots for one of the lines are much closer together.
  • Copy link
  • Flag this post
  • Block
Sascha Wolfer
@sascha_wolfer@fediscience.org  ·  activity timestamp 19 hours ago

#Rstats problems: Did you ever think that the dots for dotted lines are a bit too far apart per default? TIL that it's super easy to change this.

In #ggplot2, simply try something like:

scale_linetype_manual(
values = c(a = "dotted", b = "11")
)

The '11' means: 1 point for a dot, 1 point for a gap. Find out more here: https://stackoverflow.com/questions/25788945/how-to-define-more-line-types-for-graphs-in-r-custom-linetype

Stack Overflow

How to define more line types for graphs in R (custom linetype)?

There are 6 line types defined for plots in R defined as "dashed", "longdash" ... Link How can I define more types if I have more that 6 series to plot ? The graph lines can be
A graph with two dotted lines. The dots for one of the lines are much closer together.
A graph with two dotted lines. The dots for one of the lines are much closer together.
A graph with two dotted lines. The dots for one of the lines are much closer together.
  • Copy link
  • Flag this post
  • Block
Simon Tournier
@zimoun@social.sciences.re  ·  activity timestamp 4 days ago

Today, @edumerco motivated me to give a deeper look to #Org mode and #Emacs #Lisp for processing data as a reproducible computational notebook. It reminds me this great MOOC [1]. 🤩

And today I learn more about #Sociocracy thanks @edumerco! Well, the concept of #Guix teams needs more love. 😍

Bah the kind of day when you feel part of something. 🥳

Thanks @bzg for the connection. 😁

1: https://www.fun-mooc.fr/en/courses/reproducible-research-methodological-principles-transparent-scie

Eduardo Mercovich (él)
@edumerco@social.coop replied  ·  activity timestamp 3 days ago

Dear @zimoun , thank you for such a rich meeting and sharing your experience with #ReproducibleResearch and #guix for this #tem25 thesis . :)

#orgmode Babel (blocks of code calling anything integrated with the text and images) are great for #LiteraryProgramming and reprod. research.

Also, thank you for your mention of #ggplot2 that @ansate nailed too a little later. :)

Thanks also to @bzg too. 🙏

Re #PeerGovernance, I'd be delighted to share my experience with the guix community anytime.

  • Copy link
  • Flag this comment
  • Block
Sharon Machlis
@smach@masto.machlis.com  ·  activity timestamp 2 weeks ago

The {ggbot2} #RStats 📦 launches a chatbot you can speak to in plain language, and it can write ggplot2 R code and display the dataviz.
Plus: The {shinyrealtime} #RStats 📦 has a demo voice app that generates #dataviz code in both R and #Python
https://www.infoworld.com/article/4072500/how-to-run-an-r-data-visualization-chatbot-you-can-talk-to.html
#GenerativeAI #ggplot2

InfoWorld

How to run an R data visualization chatbot you can talk to

Posit’s ggbot2 is a voice assistant for ggplot2. Tell it what you want in a spoken conversation, and it will generate plots and ggplot2 R code from your data.
  • Copy link
  • Flag this post
  • Block
Unnamed skant beefcake boosted
James Hawley, PhD
@jrhawley@scholar.social  ·  activity timestamp 2 months ago

Wow, setting default labels for your data in #rstats using "label" attributes is a good idea. I'd never heard of this before, but I'm glad that #ggplot2 is now supporting it. Manually specifying axis labels was a bit tedious.

I do like that if you transform the data, the default label is not applied (see the sqrt(body_mass) variable in the first figure here).

https://www.tidyverse.org/blog/2025/09/ggplot2-4-0-0/#labels

  • Copy link
  • Flag this post
  • Block
James Hawley, PhD
@jrhawley@scholar.social  ·  activity timestamp 2 months ago

Wow, setting default labels for your data in #rstats using "label" attributes is a good idea. I'd never heard of this before, but I'm glad that #ggplot2 is now supporting it. Manually specifying axis labels was a bit tedious.

I do like that if you transform the data, the default label is not applied (see the sqrt(body_mass) variable in the first figure here).

https://www.tidyverse.org/blog/2025/09/ggplot2-4-0-0/#labels

  • Copy link
  • Flag this post
  • Block
Sharon Machlis
@smach@masto.machlis.com  ·  activity timestamp 3 months ago

New presentation just posted at today's @useR_conf virtual conference: Plot Twist: Adding Interactivity to the Elegance of ggplot2 with ggiraph

By @tanya_shapiro & @CedScherer

Video https://www.youtube.com/watch?v=GnDjRxyO-7A

#RStats#DataViz #ggplot2 #user2025

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login