Hi all,
I am using xyplot (lattice) to generate a figure like Figure 4.18 in
MASS4, but I have the following two questions (1) how to change the font
of x(y)lab? (2) how to plot the panels for each level of the conditional
variable (a factor in my data set) in the order as occurred in the
Thank you all for the reply.
Regards,
Jin
-Original Message-
From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 August 2005 5:20 P
To: Simon Blomberg
Cc: Li, Jin (CSE, Atherton); r-help@stat.math.ethz.ch
Subject: Re: [R] how to test this
On Wed, 3 Aug 2005, Simon
Dear there,
I am wondering how to test whether a simple linear regression model
(e.g. y=1.05x) is significantly different from a 1 to 1 line (i.e. y=x).
Thanks.
Regards,
Jin
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch
Dear All,
I need to separate one column which is in a format like, can_region,
into two columns like, can, and region. Do we have a function in R
to do this? Thanks.
Regards,
Jin
[[alternative HTML version deleted]]
__
Hi there,
I tried to add a few circles on an existing figure using the following
codes
grid.circle(x=0.5, y=0.5, r=0.1, draw=TRUE, gp=gpar(col=5))
grid.circle(x=0.5, y=0.5, r=0.3, draw=TRUE, gp=gpar(col=5))
grid.circle(x=0.5, y=0.5, r=0.5, draw=TRUE, gp=gpar(col=5))
points(0.5, 0.5,
Hi there,
I would like to add a few circles to the following image:
x-seq(0,1,0.2)
y-x
pred-matrix(c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.7, 0.7, 0.7, 0.7,
0.5, 0.5, 0.7, 0.9, 0.9, 0.7, 0.5, 0.5, 0.7, 0.9, 0.9, 0.7, 0.5, 0.5,
0.7, 0.7, 0.7, 0.7, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5), 6, 6)
image(x,
Hi Arne,
It works. It produced what I wanted.
y-rnorm(1000, 2, 0)
plot(density(y), ylab=Abundance of species, xlab=Environmental
gradient, main= , lty=2, col=4, xaxt=n, yaxt=n)
Thanks, Arne. And also thanks to other responses.
Regards,
Jin
-Original Message-
From: Arne Henningsen
Hi there,
I produced a plot using the following codes:
y-rnorm(1000, 2, 0)
x0-c(0, 0)
y0-c(0, 0)
y1-c(0, 1)
x1-c(0, 4)
plot(density(y), ylab=Abundance of species, xlab=Environmental
gradient, main= ,
xlim=c(0, 4), ylim=c(0, 1), lty=2, col=4, xaxt=n, yaxt=n,
frame.plot=F)