Displaying 11 results from an estimated 11 matches for "sfrac".
Did you mean:
frac
2011 Nov 16
3
plotting a double y axis when x and y lengths differ
...ess years worth of data than Data1 (which is my
problem)
I am fond of using plotCI as it makes creating error bars and offsetting
overlapping error bars so easy, and double y-axis plots are a breeze
library(plotrix)
library(gplots)
offset=.08
plotCI(x=Data1$Year, y=Data1$Data, uiw=Data1$SE,lty=1,sfrac=.005, type="l",
gap=0, col="red", xlab="YEAR")
par(new=TRUE)
plotCI(x=(Data2$Year) +offset, y=Data2$Data, uiw=Data2$SE,lty=1,sfrac=.005,
type="l", gap=0, col="blue", xaxt="n",yaxt="n",xlab="",ylab="")
axis(...
2001 Apr 16
1
Help with plotting error bars in R
Hi,
I'm sorry to send email to everyone on this list, but I have a simple question
which is bothering me and I can't seem to figure out the correct answer. I
just downloaded R and I'm trying to reproduce some simple analysis I've done
on other packages. In particular, if I have a vector of experimental values
and a vector of their uncertainties, is there a way to plot the
2010 Jun 13
1
Break in the y-axis
...uot;, "3", "4", "5", "6", "7", "8", "9",
"10", "11"))
####plotted data with error bars
plotCI(x=Saline [,1],y=Saline [,2], uiw=Saline [,3], err="y",
pt.bg=par("bg"),pch=19, cex=2.5 ,gap=0, sfrac=0.005,
xlim=c(-20,340),xaxp=c(-20,320,12), xlab="Time (min)",
ylim=c(0,200),yaxp=c(0,200,10), ylab="Arterial Plasma\nGlucose (?g/mL)",
las=1, axes=FALSE, font.lab=2.2,cex.lab=1.6)
plotCI(x=Ex [,1],y=Ex [,2], uiw=Ex [,3], err="y",pt.bg="white",pch=21,
col=...
2001 May 24
2
New Package: gregmisc
I've thrown a couple of useful functions into a new package "gregmisc" and
uploaded them to ftp://ftp.ci.tuwien.ac.at/incoming/gregmisc_0.1.1.tgz
Here's DESCRIPTION:
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.1
Date: 2001/05/24
Depends: R
Maintainer: Gregory R. Warnes
2002 Jan 25
4
How to add error bars to plot(x,y)in R?
Dear R Experts,
Is there a way in R to add an error bar (say in the y direction) for each data point?
Thanks
Ming Chow
--
__________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help",
2002 Jan 25
4
How to add error bars to plot(x,y)in R?
Dear R Experts,
Is there a way in R to add an error bar (say in the y direction) for each data point?
Thanks
Ming Chow
--
__________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help",
2000 Nov 08
4
How to plot error bars
I'm a newcomer to R. I can't seem to find any documentation how to add
error bars to points in scatter plots. I guess I could plot the points,
then compute and plot line segments in the X and/or Y directions to
represent the errors?
- Mike
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2010 Jun 05
1
Error Bar Issues
...7.875194 1.1185175
10 260 6.513927 0.5386359
11 320 4.204342 0.6855906
This is the command that I typed in to get my error bars.
plotCI(x=Saline [,1],y=Saline [,2], uiw=Saline [,3], liw=uiw, err=y, pch=21,
pt.bg=par("bg"), cex=1.5, lty=1, type="o", gap=0, sfrac=0.005,
xlim=c(-21,340),xaxp=c(-20,320,11), xlab="Time (min)", ylim=c(0,12),
yaxp=c(0,12,11), ylab="Arterial Plasma Acetaminophen (?g/mL)", las=1,
font.lab=2, add=TRUE)
And this is the error message I keep getting
Error in plotCI(x = Saline[, 1], y = Saline[, 2], uiw = Saline[,...
2000 Aug 29
1
Newbie question: Linear regression with error bars.
Hello guys,
I am a total newbie on R, having downloaded it, read the documentation and
started playing with it right now.
My general question is what 'lr' model can be used for doing a linear
regression on points that have a variance associated with them (ie. Monte
Carlo simulation results).
Actually my Data sets look like:
Timestep Energy Variance_of_the_Energy
0.0005 -14.876840
2010 Apr 06
1
plot.png
I've shared a document with you:
plot.png
http://docs.google.com/leaf?id=0B_J5_yv8GrERYWRhZjU4NDItMmMyOS00ZGIxLWE2ZDUtMDFiYTY3MzliMzhk&hl=en&invite=CI2a3aYC
It's not an attachment -- it's stored online at Google Docs. To open this
document, just click the link above.
[[alternative HTML version deleted]]
2010 Apr 06
1
Error bar
...ged for any help
Warmest
Ogbos
temp<-split(y,x)
means<-sapply(temp,mean)
stderr<-function(x)sqrt(var(x)/length(x))
p<-sapply(temp,stderr)
n<-sapply(temp,length)
ciw<-qt(0.975,n)*p/sqrt(n)
library(gplots)
day = -5:5
par(mfrow = c(3,1))
plotCI(day,means, ciw,gap = 0.05, sfrac= 0.005, type = "l",cex = 1.0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot.png
Type: image/png
Size: 4972 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100406/e117e880/attachment.png>