About 38,000 results
Open links in new tab
  1. How to draw neat polygons around scatterplot regions in ggplot2

    How do I add a neat polygon around a group of points on a scatterplot? I am using ggplot2 but am disappointed with the results of geom_polygon. The dataset is over there, as a tab-delimited …

  2. r - How to construct a scatterplot with regression line that adjusts ...

    Mar 13, 2019 · I want to be able to generate a scatterplot with a regression line that reflects either of these two regression coefficient. For example, if predictor 1's regression coefficient is …

  3. ggplot2 - R scatterplot matrix with nonparametric density - Cross …

    I know a few (~18) higher value variables that I think are more informative so I can, if I like, enter "pairs(mydata[,indices])" and get an 18x18 scatterplot matrix plot. I don't get the nonparametric …

  4. r - Scatterplot with contour/heat overlay - Cross Validated

    Jul 6, 2012 · $\begingroup$ This StackOverflow questions shows a couple of ggplot2 options for this kind of plot, including the scatterplot+points. $\endgroup$ – joran Commented Jul 6, 2012 …

  5. Visualising scatterplot with too many points and two or more groups

    Apr 20, 2023 · With a simple scatterplot, even with low alpha, the result is too visually dense: Following this answer and suggestions here, I think switching to hexbin will work well. …

  6. ggplot2 - How do I draw polygons in a scatterplot around groups …

    Jun 3, 2021 · Based on this post, I managed to draw ploygons/clusters in the scatterplot using ggplot based on the same factor as the colors of my points are based on (i.e., country). Here's …

  7. r - Detecting the outliers from scatter plot - Cross Validated

    Sep 13, 2019 · I am trying to understand this question from Everitt et al. (A Handbook of Statistical Analyses Using R) which asks, "Collett (2003) argues that two outliers need to be …

  8. What's a good way to use R to make a scatterplot that separates …

    Jun 21, 2012 · While there are many reasons to stick with base R, other packages simplify plotting. Separating out data by a distinguishing feature is one of the strengths of the ggplot2 …

  9. How to add non-linear trend line to a scatter plot in R?

    Your question is a bit vague, so I'm going to make some assumptions about what your problem is. It would help a lot if you could put up a scatterplot and describe the data a bit. Please, if I'm …

  10. How do I create and interpret an interaction plot in ggplot2?

    Nov 21, 2012 · The syntax for ggplot2 has been difficult for me to understand so I am wondering if anyone here finds it easy and is able to create one with my data and show me the code. The …

Refresh