Questions tagged [geom-point]

215 questions
0
votes
1 answer

"Aesthetics must be either length 1" with different x, y and colour arguments

I have a problem that should be quite simple to fix but I haven't found any answers that are directly applicable to my situation. I am trying to create a plot with geom_point in which the points shown are a filtered value from a character vector. y…
0
votes
1 answer

How can you plot `geom_point()` with `facet_wrap()` using per-group row number as x?

Is there a way to plot geom_point() so that it implicitly uses the row number as x in a facet? Just like plot(y) but also for multiple facets. The following fails with Error: geom_point requires the following missing aesthetics: x: df = data.frame(y…
Jonas Lindeløv
  • 5,442
  • 6
  • 31
  • 54
-1
votes
2 answers

Unable to understand graph data in R language

I was working on a task where I'm required to find if there is increase in price while increase in number of rooms. I've used ggplot2 and geom_point. But I'm unable to understand is there any increment. Could any one help to make me understand this…
-1
votes
1 answer

Color geom_point based on y axis intervals and add linear regression line

I am interested in learning how to color my scatterplot so that the points are colored based on intervals on the y-axis. I would like to code the following: <10 = blue, 10-20 = orange, 20-30 = green, & >30=purple. Currently, I have color set to…
m.rodwell
  • 39
  • 5
-1
votes
1 answer

how to use fill and color geom_col vs geom_point

I have a question regarding geom_point. ui <- fluidPage( titlePanel("Test"), sidebarLayout(sidebarPanel( selectInput( "selectedColX", "Select colum for X axis", choices = c("tooling1","tooling2"), selected =…
1 2 3
14
15