0
votes

1
replies

I want to generate a PDF with many plots, one per page. These plots contain marginal distributions on the sides, generated with ggExtra:
library...

asked 4 months ago

0
votes

1
replies

TAI
structure(list(year = c("2018", "2018", "2018", "2018", "2018",
"2018", "2018", "2018", "2018", "2018", "2018", "2018"), month = c(1,
2, 3...

asked 4 months ago

0
votes

1
replies

I created a histogram from the World Happiness Report and reorder the values. However, I´d like the colors from the plot to match the colors from...

asked 4 months ago

0
votes

1
replies

I am trying to create plots with ggplot for 20 data frames ("df1" - "df20") that are contained in a list called "list1". The list looks like this...

asked 4 months ago

-1
votes

3
replies

I am trying to build a geom_linerange plot where ymax is a count of non-numerical values that appear in my data. The x axis needs to show categor...

asked 4 months ago

0
votes

1
replies

So I create the name with :=, but I want to use it in ggplot2 as y which does not seem to work.
library(tidyverse)
date_group_plot_line <- f...

asked 4 months ago

0
votes

2
replies

i have a dataframe structured like this
Elem. Category. SEZa SEZb SEZc
A. ONE. 1. 3. 4
B. TWO. 4. 5. 6
i want to...

asked 4 months ago

0
votes

2
replies

For my assignment I have a dataset of Olympic Medal Winners and need to make a stacked bar chart. I currently have the following plot.
My code...

asked 4 months ago

0
votes

1
replies

I have imported the dataset = students for generating the reactive plots but proper plot is not generated .I am using ggplot for plots so could...

asked 4 months ago

0
votes

1
replies

I am simply trying to show the breaks on the x axis of a plot (5,4,3,2,1,.5) but it will not show the .5. When I tried to code below, it resulted...

asked 4 months ago

-1
votes

1
replies

I would like to draw a box plot splitting data in one column ("var_2" below) into two boxes from this column, based on data in another column ("v...

asked 4 months ago

0
votes

1
replies

I am trying to insert a map into another. And even when one time it worked, frequently I break R Studio.
First map: Luxemburgo
library(rgdal)...

asked 4 months ago

3
votes

1
replies

I'm working on a chart similar to a slopegraph, where I'd like to put labels along one or both sides with ample blank space to fit them on both s...

asked 4 months ago

0
votes

1
replies

I need that the text showed by geom_text must be inside the canvas of the plot. The problem is that the content of the geom_text is dynamically a...

asked 4 months ago

0
votes

0
replies

I have this data
LUI
structure(list(year = c("2018", "2018", "2018", "2018", "2018",
"2018", "2018", "2018", "2018", "2018", "2018", "2018"),...

asked 4 months ago

0
votes

2
replies

library(tidyverse)
library(ggrepel)
df <- structure(list(Fruit = c("Yellow Pear", "Yellow Pear", "Yellow Pear",
"Yellow Pear", "Yellow Pear",...

asked 4 months ago

-1
votes

1
replies

I am plotting a simple ggplot scatter plot of one variable against another, faceted into a third variable and coloured based on a fourth.
It is...

asked 4 months ago

0
votes

1
replies

Hi I have a list of dataframes, with data like this:
Element 1 subset to year 2018
structure(list(year = c("2018", "2018", "2018", "2018",...

asked 4 months ago

-1
votes

0
replies

I am new in R languagr and now I am learning ggplot2 plotting and I have some problems with plotting multiple variables in one graph . I need to...

asked 4 months ago

0
votes

1
replies

This is a subset of my dataset:
structure(list(zone = c(3L, 4L, 2L), la3 = c(1,
6, 3), la4 = c(3, -2, 5)), row.names = c("1",
"2", "3"), class...

asked 4 months ago

0
votes

1
replies

I have this data
structure(list(year = c("2018", "2018", "2018", "2018", "2018",
"2018", "2018", "2018", "2018", "2018", "2018", "2018"), month...

asked 4 months ago

-1
votes

0
replies

Datalink:
the data used
My code:
ccfsisims <- read.csv(file = "F:/Purdue University/RA_Position/PhD_ResearchandDissert/PhD_Draft/GTAP-CGE/GT...

asked 4 months ago

0
votes

0
replies

I am doing some analysis in ggplot2 at the moment for a project and by chance I stumbled across some (for me) weird behavior that I cannot explai...

asked 4 months ago

0
votes

0
replies

I have a multiple points on my x axis so I am trying to plot only every 10000th of them but also add one of the numbers in series which doesn't f...

asked 4 months ago

0
votes

1
replies

I need help to connect a geom_segment to a geom_point outside the plot. I tried looking up answers to similar questions but that did not solve my...

asked 4 months ago