Displaying 20 results from an estimated 96 matches for "plotci".
2005 Apr 01
1
plotCI error when trying to omit upper or lower bars (PR#7764)
Full_Name: Volker Franz
Version: 2.0.1 (2004-11-15)
OS: Mac OSX / Debian
Submission from: (NULL) (84.58.8.232)
Hi there,
the new version of plotCI (Version: 2.0.3 of gplots) produces errors
if the upper or lower error bars should be omitted by passing NULL as
an argument. Older versions of plotCI had no problem with this. Here
is an example:
library(gplots)
means <- c(1,2,3,4,5)
upperw <- c(1,1,1,1,1)
lowerw <- c(1,1,1,1,1)
upper...
2006 Oct 16
2
set linetype with plotCI
Dear R-list,
I'm iterating several calls to plotCI [gplots], like so:
plotCI(
x = xvals.f[sorted],
y = yvals.f[sorted],
xlim = c(xmin, xmax), ylim = c(ymin, ymax),
pch = plot_symbols[graph_idx], type = "b",
lty = plot_linetypes[1],
col = plot_colors[graph_idx],
barcol = plot_colors[graph_idx], uiw = NA,
xlab = &quo...
2008 Sep 11
4
plotCI -- multiple plots on same graph
I have a bunch of lines I want to plot using plotCI()
What Id like to know is, how can I connect the points with a line and how
can I print multiple lines on the same graph?
--
View this message in context: http://www.nabble.com/plotCI----multiple-plots-on-same-graph-tp19435198p19435198.html
Sent from the R help mailing list archive at Nabble.com.
2008 Oct 10
4
plotCI
Hi all,
I am using the function "plotCI" with the following command:
plotCI(m.residuos.p.2 [1:41],li=m.residuos.p.3 [1:41],ui=m.residuos.p.4
[1:41],lty=1,ylab="")
This generates exactly what I want except for the fact that I wanna drawn a
line linking the points (m.residuos).
How could I do that?
Thanks a lot in advan...
2009 Apr 20
1
Buglet in plotCI
Dieter Menne wrote:
> Hi, Jim,
>
> there is a typo at the bottom of plotCI: there is an y.to.in which should be
> x.to.in.
>
> See list for an example.
>
> http://article.gmane.org/gmane.comp.lang.r.general/147103
>
> Should be:
> nz <- (abs(ui - pmin(x + gap, ui)) * x.to.in) > 0.001
>
> Dieter
>
>
Hi Dieter,
Thanks for...
2009 Apr 20
2
plotCI (plotrix) problem
I am attempting to create a plot with intervals "stretched" in the
x-direction using plotCI() in the plotrix package. The same data
provides an appropriate set of intervals when "stretched" in the
y-direction but I only get a lower interval when "stretched" in the
x-direction.
The data are as follows
mns <-
c(-0.00584,-0.00458,-0.00934,-0.00969,-0.01007,0.0...
2011 Nov 16
3
plotting a double y axis when x and y lengths differ
...2005 2 0.01
2 2006 4 0.01
3 2007 5 0.01
4 2008 2 0.01
5 2009 3 0.01
6 2010 6 0.01
Data2
Year Data SE
1 2006 32 1
2 2007 100 2
3 2008 60 4
4 2009 67 3
5 2010 8 1
Notice Data2 has one less 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")...
2011 Mar 08
2
plotCI() with ggplot2
Hello
Currently, I plot some coefficients with some intervals using
function "plotCI()" (package "gplots") using the following code:
(m1 <- matrix(0:5, nrow=2, byrow=T, dimnames=list(c("v1", "v2"),
c("lo", "m", "hi"))))
m2 <- m1 + 1
library(gplots)
plotCI(
x=1:length(m1[, 1]),
pch="",
xlab...
2012 Jan 13
1
Problems with plotCI
Got problems with plotCI (plotrix)
I only want to plot the upper part of the error bar in my barplot
I had the exact same commands working two months ago
Now I wanted to change the legend and when I ran it again plotCI stopped
working.
To me it seems like there must some bug in R
library(plotrix)
library...
2013 Feb 11
2
How to plot doubles series with different location using plotCI
Dear list
members,
I would
like to create two series of plotted mean values and error bars, yet with
different locations along the x-axis.
Plotting of
first series using plotCI with the standard arguments goes without any problem.
However I do not succeed to add the second series in the same plot, which
should be horizontally shifted from the first series along the x-axis. The “add=TRUE”
argument works well. Is there any argument defining the series location within
plotCI...
2006 Sep 24
2
plotCI
Hi R masters!
I need a Help with plot confidence intervals for one equation. I use
library gplots and plotCI command in this script:
require(gplots)
ano <-1980:2002
rf<-exp(91.37162-0.04720281*ano)
ciw.f<-sqrt(1.766073e-08)
plotCI(ano,rf,uiw=ciw.f)
But in the graph not shown the errors bar and I have this error msg
zero-length arrow is of indeterminate angle and so skipped
Well, where...
2006 Feb 01
1
several plots in one
Can anyone tell me how I can supply more than one graph to plotCI
(gplots) at once?
Below is what I tried, also with rbind instead of cbind.
What is the way to do this (in general, I think)?
Problem is that lines of 1-st and 2-nd series are mixed, while they have
nothing to do with each other.
I also tried calling plotCI with argument add=TRUE, which didn'...
2008 Jul 11
2
Problems with Package Installation.
...html latex example
lowess text html latex example
ooplot text html latex example
overplot text html latex example
plot.lm2 text html latex example
plotCI text html latex example
plotmeans text html latex example
qqnorm.aov text html latex example
residplot text html latex
rich.color text ht...
2011 May 04
4
combine lattice plot and standard R plot
Dear R users,
I would like to combine lattice plot (xyplot) and standard R plot (plot and plotCI) in an unique figure.
I use the function "par()" to combine plot and plotCI and I use the function "print()" to combine xyplot. I tried to use these functions to combine xyplot and plotCI and plots but they do not work. Does anybody know how I can do this?
Thank you very much...
2013 Feb 01
1
Question on "plotCI" function
Hi all,
In my plotCI function, the argument x is chosen to be seq(0.05, 0.95,
by=0.05).
However, when I make the plot, the plot has the x coordinate goes 1:19.
Does anyone know how to make the x coordinate to be (0,0.5, 0.1, ...,
0.95).
Thank you.
Hanna
[[alternative HTML version deleted]]
2003 Nov 26
0
plotCI : Disabling X axis labels ?
I have my own set of labels for the X axis and typically
apply them to other plot modes using:
axis(1,at=1:n,labels=xLabels)
Where n is the number of character strings in xLabels
Is there a parameter to disable plotCI from creating its
default labels for the X axis?
2012 Oct 08
6
How to use Lines function to draw the error bars?
fit lwr upr
1 218.4332 90.51019 346.3561
2 218.3906 90.46133 346.3198
3 218.3906 90.46133 346.3198
4 161.3982 44.85702 277.9394
5 192.4450 68.39903 316.4909
6 179.8056 56.49540 303.1158
7 219.5406 91.52707 347.5542
8 162.6761 46.65760 278.6945
9 193.8506 70.59838 317.1029
10 181.3816 58.11305 304.6502
11 221.2871 92.14366 350.4305
12 164.2947 47.91081 280.6785
13
2010 Apr 21
1
Adding error bars to xyplot()
Hi,
I want to add error bars to a plot generated with xyplot. I've tried
both errbar() and plotCI(), but in both cases the points are not in the
same place. It's as if the two functions are using a different frame of
reference for the plotting area.
for example:
means <- c(92.5, 92.25, 90.9, 91.0, 94.15, 90.05) #means
time <- c(1,1,2,2,3,3) #occasion variable
group <- rep(c(&qu...
2010 Jun 13
1
Break in the y-axis
...ial Plasma Glucose (?g/mL)", "SEM"), class =
"data.frame", row.names = c("1", "2", "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...
2009 Apr 16
2
error bars in matplot
...t;- letters[1:2]
matplot(mat1,pch=c('x','o'),type = "b",lwd = 2,lty = c(1,2),
col = c("green","black"),cex.main = 1.8,cex=2,cex.lab=1.5,
main = "Graph 1",xlab = "Numbers 1",ylab = "Numbers 2",cex.axis = 1.6,axes=F)
plotCI(rep(vect,2),mat1,ses2,pch=NA,add=T,
col=rep(c("green","black"),each=nrow(mat1)))
axis(1,1:5,labels = vect,cex.axis=1.5)
axis(2,cex.axis=1.5)
#------------------
I don't get the error bars though. If I set 'add = F' in plotCI function, then I can see the e...