similar to: Using different symbols for different points in coplot scatter diagram

Displaying 20 results from an estimated 20000 matches similar to: "Using different symbols for different points in coplot scatter diagram"

2004 Dec 30
2
coplot with png: disappearing grid lines
Dear useRs, When I use coplot() and output to png/jpeg/bmp, the grid lines from the scatter plots disappear. If I output to pdf() the grid lines are there, however I can't use it - I have many points, and the resulting PDF file is large and very slow to open and scroll through. (By the way, if I click File-Save As-png/jpeg/bmp from Rgui.exe, the grid lines are preserved - but I need to use
2004 Aug 26
1
coplot and par
R 1.9.1 on Win2000 or Win98SE. I am using coplot as follows: coplot(AVG~LRPI| REGION) the output seems normal but I get: "Warning message: calling par(new=) with no plot" This is the only explanation that I have for being unable to use par() with coplot for changing the way the xlab and ylab appears. From within coplot I can change the text itself but not the font, fontsize, etc,
2000 Sep 15
1
Coplot Question (Unresolved)
Rers, I still have a question concerning the coplot function. I have written some code using the coplot: coplot(y ~ as.numeric(Base) | a * b) Where Base is a factor. And it works great! However, according to the way coplot works, Base is converted by "as.numeric" from Base values, A, C, G, and T to 1, 2, 3, and 4, which is not very helpful for data
2004 Jun 26
0
Re: plot.new() warning from coplot()'s par(*, new=FALSE)
{diverted from the R-SIG-gui list} >>>>> "PD" == Peter Dalgaard <p.dalgaard@biostat.ku.dk> >>>>> on 26 Jun 2004 11:51:02 +0200 writes: PD> James Wettenhall <wettenhall@wehi.edu.au> writes: >> Hi, >> >> Does anyone know a good way to get rid of warnings like: >> Warning message: calling
2000 Dec 20
1
Question about coplot() ...
Dear R-friends, For the following data: > xy x y i 1 731 0.313 2 2 739 0.340 2 3 790 0.373 2 4 855 0.451 2 5 980 0.608 2 6 575 0.156 1 7 608 0.207 1 8 630 0.249 1 9 670 0.332 1 10 838 0.377 1 11 964 0.466 1 > coplot(y ~ x|i, data=xy) coplot gives 3 panels, rather than 2, namely one for i=1 and one for i=2. Futhermore, when I extand data fram xy to have i=3 as follows:
2004 Jun 05
2
More than one series in a coplot
Hi! I would like to know, how do you plot more than one data series when using "coplot"? I think I know the answer if "plot" is being used: x <- 1:10 y <- 1:10 y2 <- 1:10* 1.1 plot ( y ~ x, type="n" ) points( y ~ x, type = "b", col = "red" ) # plot the points and lines for the first series points( y2 ~ x, type = "b", col =
1999 Jan 15
1
Bug in coplot()
I am using R0.63.1 under Windows 95. Settings of <number> and <interval> when coplot is called are ignored, except for generating a warning. For example: > data(quakes) > coplot(long ~ lat | depth * mag, data = quakes, number=3) Warning: parameter "number" couldn't be set in high-level plot() function The warning is repeated ad nauseum. The following changes
2009 Jun 07
0
writing a panel function in coplot for displaying a non-linear regression model graphically
Hello,I am a little bit struggling with the following: I would like to draw a coplot and in each panel draw the curve and display the coefficients of the regression model y~a*x^b. I thought of running nls(y~a*x^b,...) in panel=function(x,y...){} when calling coplot. How can I do this? Alternatively, I could do the regression before graphing with coplot and just use the panel function to draw the
2008 May 22
1
setting specific colours for different groups of points on a scatter plot
Hi, I have a table with three columns of data, let's call these a, b and c. I have produced a scatter plot of a against b, but I would like to colour the points according to their corresponding c values. c takes the value of either 0,1,2,3 or 4 and so I would like to colour all of the points with a c value of 0 one colour, all those with a c value of 1 another colour etc. When I use
1999 Mar 07
0
coplot has me stumped
I'm having trouble with coplot. I have two conditioning variables, and when I try to specify two sets of given.values, no matter what I do I get the message, Error: Object "b.levels" not found. Here is the section of code: c.ranges <- co.intervals(schses, number=4, overlap=0) a.ranges <- co.intervals(as.factor(aa94), number=2, overlap=0) PredAA <- as.factor(aa94)
2008 Oct 03
1
3D scatter, groups, RdbiPgSQL...
hello, I wish to create some 3d scatter diagrams visualising different grouped data set by a given field in the database. I tried the scatterplot3d package, as well as the plot3d and scatter3d functions (both within the rgl resp. Rcmdr package). My first question is, whether is it possibe to group data in the scatterplot3d and plot3d, because I did not succeed to use the groups = ...
2003 Nov 23
1
coplot row separatot line
Hi all, I could not find a way to add the dashed horizontal separator line to the top panel of a coplot (the one indicating which panel belongs to which range of the given variable a in y~x | a). This line should separate the ranges plotted in a row of panels in the panel matrix below (hmmm, hope this is reasonably clear). I like it because it enhances readability. I'll try a sketch: >
2012 Oct 23
1
Olmstead-Tukey Diagram
Hi everyone, I am Evelina and i have just joined the forum and hope to be able to support soembody as well as finding some help for my stats problem. I am trying to plot Frequencies against Densities of an ecological community using a Olmstead-Tukey diagram (O-T diagram). it is based on the Corner test for Association. I seem to undestand that the test can be run in R using the cor.test()
2004 Nov 26
1
Coplot Given text
Greetings: I am unsuccessful in suppressing "Given : myvariable" from a coplot. There was such a question in the past but the thread breaks down. I am sure this is a "for dummies" question :-). I tried: coplot(myvar~myvar | myvar, show.given=FALSE, xlab="....", ylab="...", main=" ") and some other variations (including without main=" ")
2009 May 23
2
how to adding colors to data points in scatter plot in R?
Does anybody know how to adding colors to data points in scatter plot in R? I have the following R data frame - Voter_Name, Education_years, Income, Registered Ricky, 18, 40000, Y Lisa, 20, 34000, N Jon, 10, 35000, Y ... I am doing a scatter plot in R for those data points - Income vs. EducationYears. I would also like to using different colors to differentiate whether that data point is a
2007 Dec 03
1
coplot and xyplot and panel functions
Hi, I wrote a panel function called panelwhite.corplot. If i use this function in a coplot is working fine, but if i use same function with xyplot i get the error: Error using packet 1: plot.new has not been called yet ..... and so on filling all my plots. So with: coplot(be~ch|dbh1, envmetr1, panel=panelwhite.corplot) I get the expected result with: xyplot(be~ch | dbh1,
2001 Mar 13
1
Display grouping parameter in coplot
I try to display the grouping variable in coplot. It work, but it's special solution and rather ugly. Any better idea? # Simulate my data frame data(state) x77<-data.frame(state.x77) x77$region<-state.region coplot(Life.Exp ~ Income | region, data=x77, show.given=F, subscripts=T, panel = function(x, y,subscripts, ...) { panel.smooth(x, y, span = 1., ...)
2013 Feb 07
1
coplot question
In R I have 3 variables x,y and z that contain: | x y z [1,] 1 12 122 [2,] 1 13 113 [3,] 1 11 111 [4,] 3 13 123 [5,] 4 14 134 [6,] 5 15 155| I am creating a coplot with the following syntax: |given.depth<- co.intervals(z, number=3, overlap=.1) coplot(x~y|z,pch=19,col="red",cex=1.5,given.values=given.depth)| The resulting plot however has has bars in the
1999 Aug 03
1
legend in coplot output
Dear friends: It's possible make a legend in the coplot output? My data are: "dados"<-structure (list ( Qu1 = c(1,2,3,4,5,6,7,8,3,2), Qu2 = c(3,4,5,6,7,8,9,9,6,3), Ku1 = structure (factor ( c(1,1,1,1,2,1,2,2,1,1),levels=1:2),.Label=c("Kmin","Kmax")), Ph1 = structure (factor (
2003 Jan 24
1
different plot symbols according to a factor
Dear R list subscriber, I'm hoppiing my question didn't come up so far. I try to do somthing simple a<-c(1,4,5,2,7,34,56,78,76,54) b=c(a<-c(1,4,5,2,7,34,56,78,76,54) c<-c(0,0,0,0,0,1,1,1,1,1) I would like to get a scatter diagram with different plot symbol for 0 and 1 in c I tried plot(a,b, pch=c(1,2)[c]) which didn't work. I appreciate if someone from the list could