# Tagged Questions

75 views

### R - show movement of points

Suppose I have data of the following form t1 = data.frame(a=c(2,3,3,1,5),b=c(6,4,5,2,1)) t2 = data.frame(a=c(3,4,4,1,8),b=c(5,5,5,3,3)) If you consider ...
43 views

### Mathematics behind how the normal to the plane is derived from a linear model when plotting with planes3d

I've been experimenting with the rgl library to draw 3d plots of some linear models. The package works really nicely, but I have a question on the math behind how one draws a plane (using planes3d) ...
101 views

### Scatter plots of p-value distribution of gene expression data in R

How do I distinctly represent two data sets on the same scatter plot , to compare the p-value distributions of the genes using R packages? The gene expression values and p-values (obtained by ANOVA) ...
44 views

### Comparing weights versus time graphically with error bars

I have a group of 200 children who came to clinic at months 0, 1, 2, 3, 6, 9, and 12 this year. At each clinic visit the children were weighed. ...
208 views

### Exploring a scatter-plot matrix for many variables

I am analyzing a dataset with many parameters (say, 50-200) and I am interested in looking at relations between variables (e.g. in terms of 2-variable scatter plots or 2d histograms). However, for ...
97 views

### how to plot lines in a matrix scatter plot

apologizes if the question is too silly. I have followed these instructions for plotting the iris dataset. Now I want to plot lines on that plot. I have a series of four-dimensional points that I ...
2k views

### Graph for relationship between two ordinal variables

What is an appropriate graph to illustrate the relationship between two ordinal variables? A few options I can think of: Scatter plot with added random jitter to stop points hiding each other. ...
270 views

### Using scatter plots to understand multiple values of Y for a given X

As I understand it, a scatter plot can contain multiple data points with the same independent variable value, and different values for the dependent variable. For example, if the horizontal axis ...
581 views

### Problems plotting GLM data of binomial proportional data

This might be a question for the programmers, but I thought I would ask here first. Im comparing browsing pressure on plants between sites. Ive a value to indicate Browsing Pressure and count data ...
894 views

### How do I create a categorical scatterplot in R like boxplots? [closed]

Does anyone know how to create a scatterplot in R to create plots like these in PRISM's graphpad: ...
691 views

### Correlation plots with missing values

I have 9 vectors of numeric data. I want to make correlation plots for these 9 vectors. However some vectors are of a different length to others - some have up to 240 observations while others have ...
5k views

### Scatterplot with contour/heat overlay

I saw this plot in the supplement of a recent paper and I'd love to be able to reproduce it using R. It's a scatterplot, but to fix the overplotting there are contour lines that are "heat" colored ...
4k views

### What's a good way to use R to make a scatterplot that separates the data by treatment?

I'm very new with R and stats in general, but I need to make a scatterplot that I think might be beyond its native capacities. I have a couple of vectors of observations and I want to make a ...
488 views

### Generating volcano scatterplot

This might look a very silly question to many of you but please answer. I am interested in generating a volcano plot for my dataset, which has four columns and all values are in log2. column 1 has ...
3k views

### How to do a pretty scatter plot in R?

I am trying hard to do the following and have already spent a few hours in vain: I wanted to do the scatter plot. But given the high dispersion on those dots, I would like to bin the x-axis and then ...
2k views

### How can I draw a boxplot without boxes in R?

Using R, I'd like to plot two boxplots without the boxesâ€”just the points. Creating clean boxplots in R is trivial: ...
942 views

### Creating univariable smoothed scatterplot on logit scale using R

I am learning logistic regression modeling from the book Applied Logistic Regression by Hosmer. I need to create a plot named "create univariable smoothed scatterplot on logit scale", something like ...
632 views

### What are alternatives to scatterplots when studying the relationship between two numeric variables?

I have questions about a study I was reading. In this study about children and money, the relationship between the age of the children and their weekly pocket money was assessed. The researchers ...
4k views

### How do I avoid overlapping labels in an R plot?

I'm trying to label a pretty simple scatterplot in R. This is what I use: plot(SI, TI) text(SI, TI, Name, pos=4, cex=0.7) The result is mediocre, as you can see ...
2k views

### Automating plotting CSV files quickly and with some level of artistic control

Suppose my CSV file has time and various columns of data vs time. I want to be able to automate plotting. To a file at least; multiple formats or to the screen as well is a plus. There will be lots ...
450 views

### Good online resource with tips on graphing association between two numeric variables under various conditions

Context: Over the while I've acquired a set of heuristics on how to effectively plot the association between two numeric variables. I imagine most people who work with data would have a similar set ...