Displaying 20 results from an estimated 700 matches similar to: "plotCI (plotrix) problem"
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
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 = "", ylab = "",
add =
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 the fix. I have
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 (graphics)
x = matrix(c( 13.75516276, 3.944604404,
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="",
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
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 advance,
Caio
[[alternative HTML version deleted]]
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”
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?
2011 Nov 16
3
plotting a double y axis when x and y lengths differ
Hello All,
Many thanks to the help I have received so far.
Here is an example data set I hope to plot
Data1
Year Data SE
1 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
2003 Sep 07
3
bug in crossprod? (PR#4092)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
# The last line of following code produces a segmentation fault:
x <- 1:10
f <- gl(5,2)
2012 Feb 13
2
Error in apply(x2, 1, diff) : dim(X) must have a positive length
Anyone knows hat might be the cause of this error? Thanks for any help!
>library(MASS)
> dif.mns = function(x2,tr1=.2,tr2=.3){
+ #generates four different 'means' using
+ #difference scores from x2, an n x 2 matrix
+ #for use w/ bootstrap comparisons
+ diffs = apply(x2,1,diff)
+ mn1=mean(diffs)
+ mn2=mean(diffs,tr=.2)
+ mn3=mean(diffs,tr=.3)
+
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't seem to
work (that is actually
2008 Jul 11
2
Problems with Package Installation.
I am having difficulty installing packages. For example, here I have tried to
install "gplots" but to no avail. I have tried multiple mirrors and
different packages (errbar) but after installation I seem to be unable to
access any of the commands or help pages. I am a little concerned about the
'lib' missing message but this has been present for previous successful
package
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 in
2001 Jun 11
0
mult.fig() utility [was "margin text mtext"]
Martin,
I have an objection in principle to anything that has the side-effect of
clobbering something in the global environment, even something as innocuous
looking as "old.par". I certainly object to putting something like that
into a public library, however clever and useful the code might be. It just
is not safe.
As a quick way round this I suggest the following (R only) solution:
2010 Sep 19
3
Repeating values in a list
I have a list that looks like this ...
> have <- list(a=7,b=3,c=1)
> have
$a
[1] 7
$b
[1] 3
$c
[1] 1
and I want to have a simple way to change it to the following without re-typing the values ...
> desire <- list(a=c(7,7),b=c(3,3),c=c(1,1))
> desire
$a
[1] 7 7
$b
[1] 3 3
$c
[1] 1 1
In other words, I need to create the list in desire from the list in have.
In my
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 <-