similar to: How do I add fitted curves to coplots?

Displaying 20 results from an estimated 4000 matches similar to: "How do I add fitted curves to coplots?"

2002 Mar 04
1
coplots
Hello list members, I am new to this list and don't know very much about what R can do or how to program it, but I am interested in plotting 4 variables as sequential contour plots (or surface plots), something like the conditioning plots for 4 variables (coplot(X1~X2|X3+X4)). To be more specific, I need a tool that will automatically create contour (orsurface) plots of X1 vs X2 vs X3 for
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
2010 Jan 17
1
coplots with missing values
Hello - I'm trying to construct a coplot to check the residuals conditioned on a factor using the following formula, however I keep getting an error message. I've used the same formula for another data set and it worked fine - the only difference is that now I have missing values for each level (2 levels) of the factor. Is this the problem and how can I fix it. Thank you. > E2 <-
2000 Sep 14
5
Projects
I am teaching a graduate course on Statistical Computing this semester. A major part of the grade is determined by a project in which a student or small group of students produce, test, and document some software for statistics. I will encourage those students who are developing in S to package their software as an R package. I would welcome suggestions of possible projects, especially projects
2009 Nov 15
1
Help with unstack() function
Hi Everyone, I am trying to understand the unstack() function but after struggling for two days, I have given up. More specifically, I am trying the exercises at the end of Chapter 1 of Data Analysis and Graphics Using R by Maindonald and Braun, 2nd ed. Exercise 18 (p. 41) asks to unstack the Rabbit data frame from the MASS package to get a certain data frame that is shown in the exercise.
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:
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: >
2003 Feb 18
1
coplot with boxplot panel function
I am attempting to construct a conditioning plot with a pair of boxplots within each panel. The resulting plot has panels misplaced. One misplaced panel is on top of the subcomponent describing ranges of the conditioning variable. This is what I did: X <- cut(rnorm(200), 2) Y <- runif(200) Z <- rnorm(200) given.Z <- co.intervals(Z, number = 4, overlap = .25) coplot(Y ~ X | Z,
2002 Sep 02
1
Coplot graph size manipulation
I am currently plotting a graph with the function coplot() conditional on two factors which gives me 36 sub-panels. I have a few questions in general about changing the size of the graph. My question follows : a) I have a fair bit of text to put on the margin sides using mtext(). What is the best way to shrink the whole graph to say 80 - 90% so that I can include a bit more words. b) Since I am
1999 Jan 17
0
[R} coplot
I've sent Martin Maechler details of a couple more bugs. (1) The line columns <- nrow(b.intervals) is wrong. It should be columns <- nrow(a.intervals) (2) Following each of the lines that generate values for id, one needs if (any(is.na(id))) id[is.na(id)] <- FALSE This is to deal with missing values in conditioning variables. I have made several sugegstions about warnings
2000 May 09
4
Dispersion in summary.glm() with binomial & poisson link
Following p.206 of "Statistical Models in S", I wish to change the code for summary.glm() so that it estimates the dispersion for binomial & poisson models when the parameter dispersion is set to zero. The following changes [insertion of ||dispersion==0 at one point; and !is.null(dispersion) at another] will do the trick: "summary.glm" <- function(object, dispersion =
2000 Jan 10
1
'at' parameter in mtext(.., adj=0, outer=T) (PR#396)
Depending on the setting of par()$usr, the 'at' setting in mtext(.., adj=0, outer=T) may cause the text to appear in an anomalous position (e. g. in the first instance below, at the left of the plot region rather than at 'at=0' in the figure region), or the text may not appear at all. If one does not set the 'at' parameter the text appears (with 'adj=0') on the
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 =
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,
1999 Sep 24
3
What is R - A Summary
I wonder whether there is any comment on the following. It is a summary of a 10 minute contribution that I made to a biostatistical workshop help yesterday in Sydney. My aim was to highlight the benefits of the Linux/R development model, in a session with the title: "How can statistical packages be improved?" =================================================================== The R
2000 Mar 21
3
Use of Rd2txt on .Rd files from rw-1.0.0 (PR#498)
>From e980153 Tue Mar 21 18:50:55 2000 To: bates@stat.wisc.edu Subject: Use of Rd2txt on .Rd files from rw-1.0.0 Files generated using prompt.data.frame() under rw-1.0.0 get scrambled (mildly) when I process them under Rd2txt on Solaris, (using R-devel 1.1.0). Files generated under R-devel 1.1 on Solaris are processed ok. The .Rd files from the two sources look identical. The problem is
2001 Feb 27
1
Patch to coplot.R
---1149173172-1804289383-983267779=:26068 Content-Type: TEXT/plain; charset=us-ascii Hello, and a big thank you for providing R! Please find attached a diff for coplot which you may want to consider for the next release. The diff is against R 1.2.2. The reasons for this patch are: 1. The boxes of coplot did not align very well with the panel graphs if applied to a factor 2. Putting the
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 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=" ")
2000 Aug 24
1
coplot
COPLOT: how do i define the given.values for two variables? Thomas Pesl -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch