Displaying 20 results from an estimated 1300 matches similar to: "Plotting with 2 y axes"
2007 Oct 22
2
Repeated Measures/Linear Mixed Effects function
I have three columns of data, Xc, Trt and fish. This was a repeated
measures design with 6 measurements taken from each of 5 fish. Xc is the
actual measurement, Trt is the treatment, and fish is the fish number. Data
can be seen below (hopefully it is in the column format). I would like to
look for differences between treatments in a repeated measures format. I
used the following code
2009 Jul 15
3
Axes origins and labeling
I have re-labeled tick marks on the x axis. The problem is that by using
axes=FALSE, the axes disappears and when they are called back using
axis(side=1)..etc. the axis on sides 1 and 2 do not meet at the bottom left
corner of the graph. I would also like to have the 3rd and 4th axes in
there as well, all meeting in their respective corners.
par(mfrow=c(1,2))
gut<-c("Full",
2009 Jul 16
1
axis label config mgp
I have long axis labels (8units) on the x axis and 2 unit number labels on
the y axis. I need to move the x axis title without moving the y axis
title. I have used mgp=c(title, label and line), but mgp moves both the x
and y titles. The following puts the y axis title way way out to the left.
Anyone know how to move just the x axis.
X11()
conif<-c("Control", "Switched
2008 Feb 15
2
wire.frame tick labels from matrix
Dear R Users, close to the end of this I used wireframe to create a 3D plot
from a matrix. The x and y axis tick labels (1-6) for each were created
from the matrix being a 6X6 matrix. I need the axis tick labels to be the
row and column headings which you can see in the output (mat.x). I have
tried several work arounds, but they have not been successful.
Thanks in advance. keith
rm(list=ls())
2011 Sep 05
0
Professorship Computational Statistics
The Department of Statistics at the Faculty of Mathematics, Informatics and
Statistics of the Ludwig-Maximilians Universit?t in Munich invites
applications for a
Professorship (W2) (6 years/tenure track)
for Statistics with Special Emphasis on Computational Statistics
as soon as possible.
The professorship represents the entire field of computational statistics in
research and teaching.
2004 Oct 15
4
pdf device --- axes labels text disappeared?
Dear R Wizards: Running R 1.9.1. on amd64.
Promise<- c(0,20,40); Expect<- c(0, 20, 0.2*20+.8*40 );
# this omits printing numbers on the axes labels.
pdf(file = "bug.pdf" );
plot(Promise, Expect, type="b", ylim=c(0,60));
dev.off();
# this works
postscript(file = "bug.eps" );
plot(Promise, Expect, type="b", ylim=c(0,60));
dev.off();
apologies if
2008 Feb 19
2
addition of matrix
Thank you ahead of time for help with this.
I have two matrices
X
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 660 693.00 726.0 759.00 792.0 825.00
[2,] 548 575.40 602.8 630.20 657.6 685.00
[3,] 676 709.80 743.6 777.40 811.2 845.00
[4,] 763 801.15 839.3 877.45 915.6 953.75
[5,] 768 806.40 844.8 883.20 921.6 960.00
[6,] 692 726.60 761.2 795.80 830.4 865.00
[7,] 657 689.85 722.7
2008 Feb 15
1
predict.lm with matrix as newdata
Z is a matrix and when I run the following line, it creates a prediction
estimate using each column, how can I get it an estimate for each individual
number. I have tried changing Z to a data.frame, but this does not do it
either.
model.lm<-lm(w~x)
pred.est <- predict.lm(model.lm, data.frame(x=Z))
Thanks in advance,
keith
--
Keith Cox, Ph.D.
Sitka Sound Science Center
Fisheries
2008 Apr 22
1
subset and boxplots
R users,
This should be simple, but I cannot figure it out. I import test.csv, then
create a subset for "brook_dis". When I plot (week, R) I get a nice
boxplot, but along the x axis, there are weeks a, b, c along with h and nh.
Thank you ahead of time. keith
rm(list=ls())
cond.exp1<-read.csv("condition/test.csv",header=TRUE)
sub<-subset(cond.exp1,
2002 Nov 27
0
Job Posting in Biostatistics/Statistics
This may be of interest to some of you.
Janusz Kawczak.
Associate Professor in Biostatistics or Statistics
The Department of Mathematics is soliciting applications for the tenure
track position of Associate Professorship in BioStatistics or Applied
Statistics, beginning August 2003. Demonstrated prior experience in
multidisciplinary medical or health related funded research is required.
Expected
2010 Jun 29
1
Model validation and penalization with rms package
I?ve been using Frank Harrell?s rms package to do bootstrap model
validation. Is it the case that the optimum penalization may still
give a model which is substantially overfitted?
I calculated corrected R^2, optimism in R^2, and corrected slope for
various penalties for a simple example:
x1 <- rnorm(45)
x2 <- rnorm(45)
x3 <- rnorm(45)
y <- x1 + 2*x2 + rnorm(45,0,3)
ols0 <- ols(y
2011 Feb 25
1
error - dovecot - child (login) killed with signal 16
We've been happily running Dovecot in Solaris 10 for about 8 months now.
Yesterday, Solaris 10's SMF put it in maintenance mode (shut it down) seemingly out of the blue. The
only thing going on was that I had updated the ssl certificate. We had previously been using a self
signed cert. Now we have a cert from InCommon. We had a problem with a few users who are still on
ancient Eudora
2006 Apr 27
1
losing x-label when exporting to PNG
I have a simple barplot that looks fine in the R
graphics device window. However when I export it to
png I am losing the x-label. It must be an obvious
problem but I cannot see it. Trying to resize the plot
does not seem to help. Code is below.
Any help gratefully received.
###### Start Code############
Groups <-c(21.8,45, 43, 17.2, 8.3, 18)
names(Groups) <- c("Exeter",
2009 Apr 25
4
What is the 32 GB 2.5-Inch SATA Solid State Drive?
Does anyone know about this device?
SESX3Y11Z 32 GB 2.5-Inch SATA Solid State Drive with Marlin Bracket
for Sun SPARC Enterprise T5120, T5220, T5140 and T5240 Servers, RoHS-6
Compliant
This is from Sun''s catalog for the T5120 server. Would this work well
as a separate ZIL device for ZFS? Is there any way I could use this in
a T2000 server? The brackets appear to be
2008 Jan 27
4
[OT] vernacular names for circular diagrams
> Dear useRs,
>
> by a circular diagram representation I mean what you will get by entering
> this at your R promt:
>
> pie(1:5)
>
> Nice to have R as a lingua franca :-)
>
> The folowing quote is from page 360 in this very interesting paper:
>
> @article{SpenceI2005,
> title = {No Humble Pie: The Origins and Usage of a Statistical Chart},
>
2006 Oct 24
5
need help using tftp for polycom 501
Hi,
I have a Polycom 501 that is currently unusable because I started a
firmware and sip upgrade that I can't complete.
The Ubuntu box address is set static at: 192.168.1.101.
The phone address is set static at 192.168.1.51.
The phone settings for the server menu are:
Server Type: Trivial FTP
Server Address: 192.168.1.101
Server User: PlcmSpIp
Server Password: PlcmSpIp (not sure what it
2006 Nov 01
2
Two Sipura 3000s
I have two Sipura 3000s, one for our main phone line the other for our
fax line. I think I need to handle each device in seperate context
sections. Both contexts use the s extension and things are not working
as it was before I added the second Sipura for the fax line and
additional context. Is it a problem to have two contexts with s
extensions? What is the proper way to handle this senario?
2008 May 28
1
Unnecssary warnings in plot function (PR#11530)
Full_Name: Joseph Amuah
Version: 2.7.0 (2008-04-22)
OS: Windows
Submission from: (NULL) (205.207.78.4)
I used the plot function to create some graphs but wanted to add soem
restrictions. A set of warning were produced even though the plot worked fine.
Can these warnings be cleaned up? Here is an example:
***************************************
> plot(xx$month, xx$log10RR, xlab="",
2012 Mar 27
1
Plot of function seems to cut off near edge of domain
Hello helpful R folks,
I am simply trying to graph a quarter circle centered at the origin in the
first quadrant. When I set the xlim of the plot to the radius of the
circle, the plot appears correct. However, I'd like to see a slight
extension of the axes beyond the domain of the function itself. When I do
this, a portion of the plot seems to be missing by the edge of the domain.
Here is
2008 Feb 19
0
Matrix addition
Matt, I know you are probably busy with work, but I cannot help buy asking
you these R questions. If it is bothersome, please let me know and I will
stick with the R help... but
I have two matrices
X
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 660 693.00 726.0 759.00 792.0 825.00
[2,] 548 575.40 602.8 630.20 657.6 685.00
[3,] 676 709.80 743.6 777.40 811.2 845.00
[4,] 763 801.15 839.3