similar to: superimposing two scatterplots

Displaying 20 results from an estimated 6000 matches similar to: "superimposing two scatterplots"

2003 Dec 22
2
missing data and completed missing data
Hi, This is not exactly an R request, but does anyone know of a good dataset that contains missing and missing data that have been completed later (like from persistent in-person interview attempts)? (want it for some Bayesian regression analysis) Thanks!! -Raphael [[alternative HTML version deleted]]
2002 May 18
3
checkerboard plot?
Hi, I've been doing a lot of CA modeling lately and am now wanting to make some checkerboard plots in R. Let's say I have a matrix: > is.matrix(junk) [1] TRUE > junk [,1] [,2] [,3] [,4] [,5] [1,] 0 0 1 0 0 [2,] 0 1 1 1 0 [3,] 0 1 0 0 1 [4,] 0 1 1 1 1 [5,] 0 1 0 0 0 > and I want to make a
2007 Jun 14
1
scatterplots: (equal axes and overlay)
Hi, I am doing lots of scatterplots for my dissertation and to make the comparable, I would like to have equal x- amd - y axis. Can I specify their scale? Another question adresses overlay scatterplots. Having prae and post measures for each case, is it possible to have them in one graph with symbols or colors for prae and post. So scatterplot(bdiprae,mocoprae) and scatterplot(bdipost,mocopost) in
2010 Feb 23
2
scatterplots in car package
Hi, using scatterplot in 'car' package. There are 4 plots to be pictured together (ignore data used): library(car) par(mfrow=c(3,1)) ts.plot(rnorm(100)) ts.plot(rnorm(100)) scatterplot(rnorm(100),rnorm(100),boxplot="",smooth=T) # scatter with non-parametric fit problem is that the last one comes 'always' separate. Is there any way to solve it?? of course can use
2009 May 12
2
selecting points on 3D scatterplots
Hello Everyone, I am new to R and need some help. I have a matrix of x,y,z coordinates that I would like to interactively plot in 3D and then using the cursor select points on the plot and have the coordinates sent to a matrix. I am using the rgl package to plot the data at the moment because it allows me to rotate and zoom. I also tried cloud and scatterplot3D. I am looking for a function like
2010 Sep 20
2
invalid 'row.names' length error when running scatterplots or plot in R Commander
Hello, I teach statistics and use R Commander for teaching. I have 2 students out of 169 that can't get scatterplots or plot to work. I have had them update packages, restart R/R Commander/their computers and even reinstall R/R Commander. One is using Windows 7 on a new pc and the other is a pc user (not sure the OS). They are both using R2.11.1 and R Commander 1.6-0. The data look like
2012 Feb 10
1
Q - scatterplots
I was able to make a scatterplot but ... 1) what does the "86" mean? The "86" shows up on the graph as well. > scatterplot (Shells/TotalEggs ~ Sector, data = data.to.analyze) [1] "86" 2) Also how do you change the Y axis title? I don't want it to read Shells/TotalEggs, instead I would like it to read Average Hatching Rate (%). 3) What does this error mean?
2012 Nov 24
3
How to Label Cases in Scatterplots?
Hi everyone, i?m trying to graphically display distributions with r and i?m working with makrodata from the WVS. the command i?m using is > plot (Makrodata$v11, Makrodata$v12, xlab="Democracy Score Economist", > ylab= share religious people") i?m having an additional variable that identifies respectively labels the
2005 Nov 27
1
fixed, random effects with variable weights
Hi everyone, I have tried to solve a simple problem for days but I can't figure out how to run it properly. If someone could give me a hint, this would be really great. Basically, I want to run a standard economist's fixed, and random effects regression (corresponds to xtreg in STATA) but with _variable_ weights (they correspond to changing industry shares in the market). Here is
2010 Oct 15
1
multiple car scatterplots on one graph
R version 2.11.1 on WinXP How do I get 3 scatterplots with marginal boxplots (from the car package) onto a single plot? I have a data frame called bank > dim(bank) [1] 46 5 head(bank) x1 x2 x3 x4 pop 1 -0.45 -0.41 1.09 0.45 0 2 -0.56 -0.31 1.51 0.16 0 3 0.06 0.02 1.01 0.40 0 4 -0.07 -0.09 1.45 0.26 0 5 -0.10 -0.09 1.56 0.67 0 6 -0.14 -0.07 0.71 0.28 0
2011 Jul 06
1
superimposing network graphs
Dear all, I have a undirected network (g), representing all the sexual relationships that ever existed in a model community. I also have a directed edgelist (e) which is a subset of the edgelist of g. e represents the transmission pathway of HIV. Now I would like to superimpose the picture of the sexual relationships with arrows in a different colour, to indicate where in the network HIV was
2010 Feb 03
1
how to combine 2 3d scatterplots in R
hi, I am new to R and i have managed to create 2 3d scatterplots with R and Iwaswondering if there is a way to connect them. I was also wondering how i can add arrows to the plot similar to the 2d comment arrows()? -- View this message in context: http://n4.nabble.com/how-to-combine-2-3d-scatterplots-in-R-tp1461485p1461485.html Sent from the R help mailing list archive at Nabble.com.
2008 Nov 14
1
Superimposing y-variables in Lattice formulas
Given a data frame of a categorical variable and two continuous variables, I would like to display one continuous variable against the other for each value of the categorical variable, all superimposed on the same plot. For example: data(Indometh); str(Indometh) Classes 'nfnGroupedData', 'nfGroupedData', 'groupedData' and 'data.frame': 66 obs. of 3
2005 Apr 19
1
Strange behavior in Lattice when superimposing
Hi, I am trying to do a simple superimposing of two density plots and am seeing strange behavior (I haven't seen this reported elsewhere). This little snipit will make it apparent... a = rnorm(10) b = rnorm(100, mean=-2, sd=0.5) densityplot( ~ a + b) This is supposed to superimpose the two distributions on the plot, as if they were in different "groups". But the resulting
2018 May 20
3
Loop Function to Create Multiple Scatterplots
Hello, I am trying to create multiple scatter plot graphs. I have 1 independent variable (Age - weeks post conception) and 18 dependent variables ("Gene n" Expression) in one csv file. Is there a way to set up a looped function to produce 18 individual scatterplots? At the moment, I am writing the plot() function out 18 times to make the 18 graphs. My code is below and csv file is
2006 Jun 28
2
superimposing histograms con't
Earlier, I posted the following question: I want to superimpose histograms from three populations onto the same graph, changing the shading of the bars for each population. After consulting the help files and the archives I cannot find out how to do this (seemly) simple graph. To be clear, I want - a single x axis (from -3 to 18) - three groups of bars forming the histograms of each population
2003 Apr 18
3
superimposing graphs
Dear People, I have a data set of data x from a probability distribution, and I have a function, mydensity, of the pdf of that distribution. I'm asking for help in superimposing the histogram of x and the plot of mydensity. In the function below, I call truehist and curve, but these are plotted in different figures. I'd like them to be plotted on the same figure, and to use common
2011 Jul 04
1
superimposing different plot types in lattice panel.superpose
I would like to plot 3 best-fit models in a single panel of a lattice plot, superimposed on 3 corresponding datasets in the same panel. My goal is to show the models as lines of 3 different colors, and the data as points whose colors correspond to the model colors. In essence, I have two levels of grouping: 1) model vs. data, and 2) model number. Since there is only one ?groups? variable, I
2008 Jun 16
4
Superimposing Line over Histogram in Density Plot
Hi, Currently I have a density plot generated with this snippet. Is there a way I can add a line curve on top of it? I mean in one figure __BEGIN__ myhist <- hist(x col="blue", main = "Density Plot", xlab = "Exp Level", ) __END__ - Gundala Viswanath Jakarta - Indonesia
2012 Jun 09
1
combining different types of graphics (scatterplots, boxplots) using lattice
Dear R users: I have a continuous outcome variable and four predictors, two continuous and two dichotomous. i would like to use the lattice plot to create scatter plots for the continuous predictors and boxplots for the dichotomous predictors. with 4 continuous variables, this is what i have been doing: trial = rbind ( cbind ( cimt$ant.mean, cimt$age, 1 ), cbind ( cimt$ant.mean, cimt$sbp, 2 ),