Linked Questions

0 votes
1 answer
1k views

I have a dataset that contains the following values order_dates Sales in Dollars 1 50 10 2 50 15 3 50 20 4 50 30 5 ...
EV_Mustang's user avatar
1 vote
1 answer
471 views

How to add dummy values on x-axis in ggplot2 I have 0,2,4,6,12,14,18,22,26 in data and that i have plotted on x-axis. Is there a way to add the remaining even numbers for which there is no data in ...
Sana Ali's user avatar
  • 185
0 votes
1 answer
317 views

The following works fine: my_df <- data.frame(x_val = 1:10, y_val = sample(1:20,10), labels = sample(c("a", "b"), 10, replace = T)) ggplot(data = my_df, aes(x = x_val, y = y_val)) + ...
user1700890's user avatar
  • 7,824
0 votes
1 answer
303 views

I am using rstan to estimate a model. After the sampler runs, I use plot() to produce a plot of point estimates and uncertainty intervals for the estimated parameters. However, it uses the "ugly" ...
Alex's user avatar
  • 2,097
0 votes
1 answer
210 views

I am plotting some values (y) across a continuous variable (window) but I would like to change the values on the x-axis to a value class variable (chr) that works as a group variable (one 'chr' value ...
NickSerao's user avatar
0 votes
1 answer
79 views

I created a histogram in R. At the moment, the numbers 1 - 8 are written on the x-axis (for each number a bar). I would like to change the numbers into the wind direction, e.g. instead of 1, there ...
Dolphin94's user avatar
  • 339
0 votes
0 answers
28 views

I have created a graph that shows the estimated regression coefficients and 95% confidence intervals for each school for four variables. Here is the code for it: library(tidyverse) library(broom) ...
Neha S's user avatar
  • 1

15 30 50 per page
1
2