Displaying 20 results from an estimated 102 matches for "coplot".
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 chang...
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",...
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:
> xy
x y i
1 334 0.129 3
2 365 0.198 3
3 411 0.223 3
4 731 0.313 2
5 739 0.340 2
6 790 0.373 2
7 855 0.451 2
8 980 0.608 2...
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 p...
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,...
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:
> cop...
2004 Jun 26
0
Re: plot.new() warning from coplot()'s par(*, new=FALSE)
...<wettenhall@wehi.edu.au> writes:
>> Hi,
>>
>> Does anyone know a good way to get rid of warnings like:
>> Warning message: calling par(new=) with no plot
>>
>> when using an R plot function which calls plot.new()
>> (e.g. coplot) from within tkrplot?
>>
.....
PD> Hmm, the same wart appears if you just plot to a freshly
PD> opened X11 device (X11(); coplot(....)), nothing
PD> specific to tkrplot. I think I've seen this reported
PD> before, but I have forgotten what the reco...
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/...
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=&qu...
2009 Feb 12
3
Adding abline in Lattice graph
Hi,I would like add a horizontal line at 126 (col=red) and a vertical line
at 6.5 ( col= blue) in each panel .How should I use the panel.abline
function in the following code I am using:
------------------
library(lattice)
with(reg.dat.5,coplot(lbxglu~lbxgh|eth,panel=panel.smooth,xlab="ABC",
ylab="FBG"))
----------------------------------------
Thanks a lot.
Professor of Family Medicine
Boston University
Tel: 617-414-6221, Fax:617-414-3345
emails: chettyvk@gmail.com,vchetty@bu.edu
[[alternative HTML version deleted]...
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 change...
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
different intervals of X4.
Is there a 3-D equivalent to the coplot command, or does anybody have
implemented something like that?
Thanks in advance,
Kyriakos Kachrimanis...
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...
2001 Jan 17
1
panel argument in coplot
How can I add a least squares line to each panel in coplot?
Thank you very much.
Peter B.
--
Peter B. Mandeville mandevip at deimos.tc.uaslp.mx
Jefe del Depto. de Inform?tica y Bioestad?stica rpe1531 at pasteur.fmed.uaslp.mx
Facultad de Medicine Tel: 48 26-23-45 ext. 232
Universidad Aut?noma de San...
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, data=...
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 funct...
2000 May 16
4
How do I add fitted curves to coplots?
...ses identical to the non-linear mixed effects analysis performed on
Ludbrooks Rabbit data in the second edition of Venables & Ripley (page
315--321). I have the stats pretty much done and have estimates for all
the model parameters from the nlme object. Now I want to add the fitted
lines to my coplot of the data in the manner of figure 10.3. How would I
do this? I owuld guess that I use the lines function or the panel function
but I can''t find an index varibale to tell me what panel I''m in. Any
suggestions?
John Walker
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
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 conditional variable that
don't cover all of the values of x and y at x=4, 7=14, and...
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(a...
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
c...