• Register

Recent questions tagged ggplot2

0 votes
1 answer 6 views
Problem : position_dodge requires non-overlapping x intervals
asked 3 days ago Shovo210 2.5k points
0 votes
1 answer 7 views
Problem: ggplot error: discrete value supplied to continuous scale.
asked 3 days ago Dan phillip 1.9k points
0 votes
1 answer 5 views
Problem: comparison (1) is possible only for atomic and list types.
asked 3 days ago Dan phillip 1.9k points
0 votes
1 answer 31 views
0 votes
1 answer 262 views
0 votes
1 answer 329 views
I am trying to run the rWBclimate package in RStudio. I copied the following code from ROpenSci and pasted it into RStudio. But I get an error saying 'I don't know how to automatically choose scale for list of type objects. Default error to continuous error: geom_point requires the following ... 50 50 50 50 50 50 ... $ locator: chr "GBR" "GBR" "GBR" "GBR" ... Looking for your helpful answers.
asked Aug 17, 2020 game 4.6k points
0 votes
1 answer 342 views
Problem: I have very good knowledge of r, ggplot and unix. I am now a days trying to analyze the dataset of the GSR values. I had first transformed my all the required unix values into the readable data and after that I created the plot of my GSR values in the ... . But I had already supplied the origin when I tried to transform my unix into the readable data and also again in the ggplot code.
asked Jul 27, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 65 views
Problem: I am a naive to R. I am trying to create the bar graph using the ggplot2 to compare a type of 2016 primary election and the Bernie Sanders's respective percentage of the votes in that election. I have below code: y = $ Type : Factor w/ 2 levels ... data of class uneval. I have already tried to search the solution on above error around but because of some unknown reasons to me I am stuck.
asked May 27, 2020 Martin K 6.6k points
1 vote
1 answer 938 views
Problem: I have limited knowledge of R and ggplot. I have recently written a function and trying to run the function as shown below: ggplot(datfr, aes(x = dat1[1:951,], y = dat2[1:951,])) + geom_point() After executing above function I am facing below error: Don't ... and when I try to use nrow on my two datasets it again returns the same number of rows. How can I fix above ggplot related error.
asked May 26, 2020 Martin K 6.6k points
1 vote
1 answer 55 views
Problem : I am trying to understand R and I am very new to Programming as wel. If I try to create the box chart with the use of standard error bars I often face below error message: “Error: ggplot2 doesn't know how to deal with data of class numeric”. Looking for help in quick fixing the above error.
asked May 5, 2020 stewart 4k points
1 vote
2 answers 88 views
Problem : I have recently started using R I am very new to R while working on R I am facing the below error whenever I try to create the graph on the ggplot: “Error: ggplot2 doesn't know how to deal with data of class gg/ggplot” I often face the error message if ... = Cost)) MyCars %>% ggplot() %>% geom_point(mapping = aes(x = Destination, y = Cost)) I need help in fixing above error.
asked Mar 30, 2020 morrisBson 3.2k points
0 votes
1 answer 3.3K views
Problem : Currently I am trying to create a heatmap using a ggmosaic, But I keep facing below error “Error in is.finite(x) : default method not implemented for type 'list'” My Configuration is Windows, RStudio, R version mostly one before a most recent, and ggmosaic Ver 0.1.2 How can I fix the above error?
asked Feb 20, 2020 mphil 2.3k points
0 votes
1 answer 1.6K views
Problem : I think my dataframe is correct and my code is also okay. But I am facing following error: Error in .Call.graphics(C_palette2, .Call(C_palette2, NULL)) : invalid graphics state What is wrong with my below data? date trt var val 1/12/2019 cc sw5 0.2684138 1/12/2019 ... ] Also I want to make the scatterplot as follows: ggplot(data = df,aes(x = date,y = val)) + geom_point(aes(group = trt))
asked Dec 6, 2019 alecxe 7.5k points
0 votes
1 answer 1.3K views
Problem : I installed RStudio on Mac OS X, version 10.7.3 but facing following issue. error in grid.call(c_textbounds, as.graphicsannot(x$label), x$x, x$y, : polygon edge not found
asked Nov 13, 2019 peterlaw 6.9k points
1 vote
1 answer 2.6K views
Problem : I am facing error related to ggproto as following error: cannot add ggproto objects together. did you forget to add this object to a ggplot object?
asked Nov 11, 2019 peterlaw 6.9k points
0 votes
2 answers 151 views
Problem : Getting following issue ggplot2 error geom_path issue: each group consists of only one observation. Should i adjust the group aesthetic?
asked Nov 7, 2019 peterlaw 6.9k points
0 votes
1 answer 626 views
Problem : I am getting error while using ggplot2 to plot the graphs error in usemethod("depth") : no applicable method for 'depth' applied to an object of class "null"
asked Nov 7, 2019 peterlaw 6.9k points
0 votes
1 answer 1K views
Problem : While drawing graphs using ggplot2 getting bellow error statbin requires a continuous x variable the x variable is discrete. perhaps you want stat="count"?
asked Nov 7, 2019 peterlaw 6.9k points