Hello list.
Is it possible to use par(srt=45) to rotate text by 45 degrees along the
x-axis of a plot. Using:
code
x_names-c(C57 Nv, C57 Vacc, 129 Nv, 129 Vacc, IFNgR Nv, IFNgR Vacc)
par(srt=45)
mtext(font=2, x_names, side=1, line=1, at=l, cex=1.2)
par(srt=0)
/code
doesn't seem to work in R
Hi Sara.
From the R faq here:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Citing-R
2.8 Citing R
To cite R in publications, use
@Manual{,
title= {R: A Language and Environment
for Statistical
Computing},
author = {{R Development Core
try something like this:
axis(side=2, at=c(0, 5e+5, 1.5e+6, 2.5e+6),
labels=expression(0, 5%*%10^5, 1.5%*%10^6, 2.5%*%10^6)
it will place your 5e+5, 1.5e+6, 2.5e+6 as scientific
notation at the correct positions on the y axis. the
key is the labels=expression part.
Cheers
iain
--- Oddmund
Hi All.
I am getting a rather odd error using R 2.2.0 on Suse
Linux 10. I write R scripts in the text editor Kate
and then execute them using e.g
source (timecourse_il4.r)
in R. I have been moving these scripts between a linux
box and a Mac and for that reason have a line
quartz(display=,
the average ranks so I could tell at a glance which ones were
greater than my critical value
I've been looking at loops etc but it's a little beyond me at the
moment. Thanks for any suggestions.
Iain Gallagher
IIIR
Edinburgh University
__
R-help
be appreciated.
Thanks again.
Iain Gallagher
--- Martin Henry H. Stevens [EMAIL PROTECTED]
wrote:
I don't know Dunn's rank test, but the following
substracts each of
the sums of averanks from the next rank.
cumsum(averank)[-length(averank)] - averank[-1]
Hank
On Oct 17, 2005, at 4:30 AM
not recognised - maybe I don't
have to appropriate libary installed. A pointer to the right one would
be appreciated.
e.g z -ask(message=Please enter the z value for x)
Any help would be gratefully received.
Thanks
Iain Gallagher
Institiute for Infection and Immunology Research
Edinburgh University
Thanks Uwe.
The R version I'm using is 2.1.1 on Mac OS 10.3.9
I was going to try and replicate this on a linux system at home but have
not had the time so far. I'll let you know how it goes.
Iain
Uwe Ligges wrote:
Iain Gallagher wrote:
Hi. Sorry (esp to Uwe for the repeated messages
Iain
--
Iain Gallagher
Institute for Infection Immunology Research
Ashworth Laboratories
Kings Buildings
University of Edinburgh
Edinburgh
EH9 3JT
UK
(+44) 0131 651 3630
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo
arrows(x, Ym1sham-Semsham, x, Ym1sham+Semsham, code=3,
angle=90, length=0.1)# plot sham error bars
legend(20, 60, legend=Implant, pch=1, lty=1,
bty=n)# implant legend
legend(20, 50, legend=Sham, pch=16, lty=1, bty=n)#
sham legend
Iain
--
Iain Gallagher
Institute for Infection Immunology Research
For anyone who's looked at my previously posted problem I have managed
to solve the missing graph title by removing the main=Graph Title call
from my plot definition and adding a line defining the graph title as a
title call.
i.e. from
plot(Day, Ym1Imp, ylim=c(0,100), type=b, bty=l, main=Ym1
Hi.
I have two vectors of gene expression for each of
several days. I want to plot both vectors on the same
plot for a visual representation of up versus down
regulation. I've tried using add=T but that doesn't
work.
eg
plot(Day, gene1)
plot(Day, gene2, add=T)
Any help would be appreciated.
Hi.
I would like to add a horizontal line to each column of data on a
stripchart (vertical=T) to indicate the mean(rather like the package
Prism does - for those that have used this) for each dataset. I presume
the best way to do this would be with lines but after much trying /
playing about
13 matches
Mail list logo