similar to: scatterplots in car package

Displaying 20 results from an estimated 3000 matches similar to: "scatterplots in car package"

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
2009 Jun 09
1
scatterplot (car) legend modification
hi, new to R and using the car package to do some scatterplots with ellipses hoping to add the area and center points of each ellipse to the legend? looking for some direction / ideas.... here is the script, the data is where golf shots end up by club. x (dispersion), y (distance), group (Club) thanks, sam ## usage: Rscript shotScatter.R infile outfile level1 level2 minX maxX minY maxY
2011 Jan 14
1
Question about scatterplot in package car
I am getting an error message from scatterplot: > library(car) > scatterplot(Prestige$income~Prestige$type) Error in Summary.factor(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, : range not meaningful for factors In addition: Warning message: In Ops.factor(x[floor(d)], x[ceiling(d)]) : + not meaningful for factors > The command does output the kind of graph that I want (boxplots).
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?
2005 Feb 28
2
3d scatterplots of more than 1 data set
hi, i am need to plot two or more sets of data in a 3d scatterplot, each set with different color. i tried Rcmdr, and the 3d scatterplot facility, based on rgl. that is what i need. but i cannot seem to code different sets of data differently. any help will be very helpful. i tried scatterplot3d, but it is difficult to get the right angle in it. i need to be able to rotate the axes, and
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
2010 Oct 21
4
3D-scatterplots - high quality rendering?
I have just started using the package 'rgl' to explore my data as a 3D scatterplot. It's a great tool. But I would like to be able to save some graph views and it appears the only format available is 'png' and it doesn't look that nice. It is excellent to work with on screen and explore/play, but when it comes to producing a good quality graphic I'm a bit
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
2010 Apr 25
1
categorical variable in scatterplot (car)
Hello R folks, I am encountering a problem with the following scatterplot function from the car package: > scatterplot(y~x|z) where y and x are continuous (interval) random variables and z is a categorical variable. When z is a categorical variable coded 1 or 2, I (appropriately) get a scatterplot of y by x, coded by z. Similarly, when z is a categorical variable coded 1, 2, or 3, there is
2012 Sep 26
1
Interaction scatterplots in ggplot with multiple regression lines
I'm trying to treat a continuous variable as discrete for plotting multiple regression lines in a scatterplot as a function of the level on the moderating variable. In the example below, there is only one regression line plotted to the whole data. I would like a separate regression line for each discrete level of the moderator. The moderator is continuous, so I'd like to treat it as
2008 Feb 11
1
scatterplot in CAR
I am trying to use scatterplot function in CAR like the following: scatterplot(X~Y) I want to label X points and Y ponits using the different color. Any idea for this? Aimin
2002 Aug 26
1
(CAR) Scatterplot and problems (?) with abline
Network Blitz I'm trying to generate a graph to summarize Interest Rate Parity. This involves a scatterplot of x against y where the x and y limits are set so to center the graph on 0,0 and then adding each axis line and a 45 degree line. Using CAR's scatterplot (sample code below) everything except the axes plot fine: scatterplot( Interest.Rate.Dif ~ ForPrm| profit,
2010 Jul 28
1
Help with scatterplots in R
Hi, When I plot a scatter plot, R automatically only gives the years on the x-axis. How can I make R also show the months on the x-axis? Thank you very much! [[alternative HTML version deleted]]
2006 Feb 01
1
Scatterplot color options in CAR package?
Hi All. I'd like to change the default plotting colors used to construct a scatterplot with regression line in the CAR package. So, scatterplot(y~pred,smooth=FALSE, xlab="X", ylab="Y", lwd=2) If I change the palette (e.g., palette(ranbow(6)), I can change the color of the lines and points. However, the axes and labels remain in black (i.e., the first color in the
2012 Nov 15
2
Removing default loess line from scatterplot ({car})
scatterplot() is autogenerating a regression and loess line. I want to remove the loess line, but can only find samples for how to add it. I definitely do not have code that adds it (see below), so I am puzzling... scatterplot(Aroused ~ anxious | group, data=data, xlab="Aroused", ylab="Anxious", main="Arousal and anxiety ratings", xlim=c(0.5, 9.5),
2010 Feb 12
1
scatterplot in Package CAR
Hi Folks, Please, when I ask the option reg.line at the scatterplot in package car, the OLS models includes a constant? If not how can I do it sing the following code: scatterplot(lfirms ~ lscale, data=dataset, reg.line=lm, smooth=FALSE, labels=FALSE, span=0.5, xlab="Relative Plant Fixed Cost", ylab="Relative Number of Firms", pch=c(18),
2005 Jan 14
1
Fine tuning scatterplot() (car package)
Hello all! System: R2.0.1, W2k. All packages apdated with update.packages(). I use the default graphic device for my system (no active choice). I?m trying to fine-tune scatterplot() graphs (package car), for publication. I want to control plotting symbols and colours to match plots from other, less flexible, systems. I also need to make all text and symbols bigger, to enable printing of the
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
2008 Mar 28
1
background color in scatterplots
Dear R community, I have a scatterplot with multiple vertical ablines. I wish to color each interval between two ablines in a different color... Could you please indicate me how to do this efficiently? Thank you! Georg. ******************** Georg Ehret Johns Hopkins Baltimore [[alternative HTML version deleted]]
2011 Jun 04
1
nonparametric logistic regression based on locally weighted scatterplot smoothing (lowess)
Dear UseRs: Recently, I have read an article regarding the association between age and lymph node metastases. http://jco.ascopubs.org/content/27/18/2931.long In statistical analysis, the authors stated "Because a nonlinear relationship between age and lymph node involvement was expected based on existing literature, lymph node involvement was also regressed on age using nonparametric