Skip to content
#

ggplot2

Here are 916 public repositories matching this topic...

data-science-at-the-command-line
julianhatwell
julianhatwell commented Mar 8, 2020

The opening code example is given as:

$ echo 'foo\nbar\nfoo' | sort | uniq -c | sort -nr
2 foo
1 bar
$ echo 'foo\nbar\nfoo' | sort | uniq -c | sort -nr |

but should be:

$ echo -e 'foo\nbar\nfoo' | sort | uniq -c | sort -nr
2 foo
1 bar
$ echo -e 'foo\nbar\nfoo' | sort | uniq -c | sort -nr |

-e switch is required for interpolating escaped \n. Without it, the example

gganimate
abhsarma
abhsarma commented Mar 18, 2020

I really appreciate the work that you've put into engineering it so that we can create animated plots in R, but I would really appreciate if you could document examples (in the form of vignettes), and describe in more details the terms and metaphors used. I've been trying to use the gganimate package but I have been facing some problems with understanding what some of the terms / metaphors used in

hrbrmstr
hrbrmstr commented Mar 13, 2020

Many of the issues filed for this package are unsurprisingly font related.

To help alleviate or even prevent these issues, the package needs:

  • better documentation on fonts
  • platform-specific helpers for installation & triage
  • robust platform detection (down to version & patch level) to ensure the right font names are used on the right platform since legacy operating systems like Windo
ggrepel
davidchall
davidchall commented Dec 12, 2019

The documentation of the nudge options does not specify the units of these values. It would help new users to clarify this.

They are probably in the same units as the data values for these axes? But they might’ve been relative units for the plotted axis (e.g. 0.5 would nudge the position by half of the axis length), or even absolute units for the plot (like the units for many of the other opti

ggforce
Myles12345
Myles12345 commented Mar 24, 2017

When paginating a faceted plot that has an odd number of plots, so the last page's plots do not fill that page - I find that the ggplot title that is centered over the page, becomes centered over the remaining plots on the last page.

Code:

n_pages <- ceiling(length(levels(diamonds$cut)) * length(levels(diamonds$clarity)) / 3)

# Draw each page
for (i in seq_len(n_pages)) {
  p
tidybayes
kaybenleroll
kaybenleroll commented Dec 5, 2019

It is not clear from the documentation what the intended usage is for outputs from stan_lm or stan_lm where you do not have hierarchies to pass to gather_draws() or spread_draws().

For example, fitting a very simple model with stan_lm():

library(tidyverse)
library(rstan)
library(rstanarm)
library(tidybayes)

test_stanlm <- stan_lm(mpg ~ cyl + disp + hp + drat + wt + vs +
friendly
friendly commented Jan 21, 2019

A nice & potentially useful package, but w/o more detailed description of the parameters and their ranges, one is left to guess what they might be, and then iterate to find something that works.

p_x, p_y, s_x, s_y, s_height, s_width, ... ? What is the frame of reference for *_x., *_y positions? What is the relation of *_height, *_width to this?

Improve this page

Add a description, image, and links to the ggplot2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ggplot2 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.