Displaying 20 results from an estimated 3000 matches similar to: "Titles - main and subtitle won't plot with errbar"
2011 Apr 29
2
abline outside of plot region
Hi R people.
I ran into this problem: I created a plot with errbars, like this:
> errbar(x=c(1,2,3,4), y=c(2,1,3,3), yminus=c(1.5,0.5,2.5,2.5),
yplus=c(2.5,1.5,3.5,3.5))
Next, I wanted to accentuate some x value with an abline, like this:
> abline(v=2)
In one of my R sessions (which admittedly I have had open for quite a while
now), the abline draws outside of the plotting region
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 <-
2010 Apr 19
2
plotting RR, 95% CI as table and figure in same plot
Hi all--
I am in the process of helping colleagues write up a ms in which we fit
zero-inflated Poisson models. I would prefer plotting the rate ratios
and 95% CI (as I've found Gelman and others convincing about plotting
tables...), but our journals usually like the numbers themselves.
Thus, I'm looking at a recent JAMA article in which both numbers and
dotplot of RR and 95% CI are
2013 Jun 12
2
survreg with measurement uncertainties
Hello,
I have some measurements that I am trying to fit a model to. I also
have uncertainties for these measurements. Some of the measurements
are not well detected, so I'd like to use a limit instead of the
actual measurement. (I am always dealing with upper limits, i.e. left
censored data.)
I have successfully run survreg using the combination of well detected
measurements and limits,
2010 Jun 05
2
how to use 'points' function to plot two curves with errbar
Dear R Users,
I am using R on windows.
how to use 'points' function to plot two curves with errbar
I am doing like:
x.val <- as.integer(names(co2mean))
errbar(x.val, co2mean, co2mean + co2sd, co2mean - co2sd, xaxt='n', col=1,
xlab=NA,ylab=NA)# obs error bar
lines(x.val, co2mean, col=1, lwd=2)
errbar(x.val, co2tm3.month.mean, co2tm3.month.mean + co2sd.tm3,
co2tm3.month.mean -
2005 Jul 29
1
Errbar()-function, cap and logarithmic scaling
Hello!
If I use the errbar-function and have a logarithmic scale on the x-axis,
then the little horizontal bars at the end of the errbars (cap)
disappear. What can I do?
Thanks for helping!
Ute
2011 Feb 10
2
Hmisc errbar color
Is there an easy way to make the error bars the same color as the points and lines they are plotted with.
My example
# fake data
x=sample(1:10, 100, replace =T)
y = rnorm(100) + runif(100)
df=data.frame(x,y)
# summarize data
m = aggregate(df,list(x),mean)
se = aggregate(df,list(x),sd)/sqrt(10)
library(Hmisc)
plot(x,y)
errbar(m$x, m$y, m$y+1.96*se$y,
2009 Dec 03
5
Bar Plots: Error Bars
Hey Everyone,
I'm pretty new at R and wanted to try and make some graphs with dummy data
before using it to analyze my own. I successfully made a bar graph and error
bars, but I can't figure out how to align them properly (currently they are
not centered on the bars and some of them aren't even close). Here's the
code that I'm using:
> marks <- sample(4:10, size=50,
2004 Feb 08
2
parsing numbers from a string
Dear R-help members,
I have several large data sets from certain simulations I did and now I want to plot the results nicely.
I don't know anything about the size of the x and y values in advance.
Plotting these values is not a problem.
However, I want to add errorbars (errbar in the Hmisc package).
1) For this I'm factoring the data (xdata00 varies from 0 to max(xdata00))
xfactor00 =
2012 Oct 25
2
error bars
Hello R-help,
I am using R version 2.15.1.
I upgraded from R version 2.13 a few months back.
Previously, I was able to plot error bars on an xy scatter plot using the errbar function:
errbar(RAEthylene$TIME,RAEthylene$AVE,RAEthylene$AVE+RAEthylene$STD,RAEthylene$AVE-RAEthylene$STD,add = TRUE,lty=2,pch=17);
Today, I went to update my plot.
However, in R version 2.15.1 I get error code
2012 May 01
1
[fields:image.plot] subtitle under title (not image)?
summary: how to make image.plot print a subtitle between the title and
the image, rather than under the image?
details:
I've got a project
https://github.com/TomRoche/ioapi-hack-R
that illustrates the use of (et al) the R packages {ncdf4, fields, M3}
for processing and visualizing IOAPI data. The data being visualized
consists of a series of layers (mostly representing emissions from a
2009 Dec 15
2
subtitle in Hmisc xYplot
Ok so I am trying to add a subtitle to my xYplot using Hmisc and I have some
dummy code of
x<-seq(1,10,1)
y<-rev(seq(1,10,1))
ci<-y*.10
ciupper<-y+ci
cilower<-y-ci
this code works fine:
xYplot(Cbind(y,ciupper,cilower)~x, type=c("b"),plot.points = TRUE,
method='filled bands', main='main title')
but when I add sub=. at the end and use this
2010 Oct 26
1
lattice key subtitle
Hello everybody,
Is there a way to add a subtitle to a lattice key?
It is important form me that the subtitle must be linked to the key
because those graphs are produced on a daily temporal scale,
and the numbers of rectangles from the key may be different from day to
day.
Thank you,
Alexandru Dumitrescu
[[alternative HTML version deleted]]
2007 Dec 05
1
Plotting error bars in xy-direction
Dear R-help,
I am looking for a function that will plot error bars in x- or y-direction (or
both), the same as the Gnuplot function 'plot' can achieve with:
plot "file.dat" with xyerrorbars,...
Rsite-searching led me to the functions 'errbar' and 'plotCI' in the Hmisc,
gregmisc, and plotrix packages. As I understand the descriptions and examples,
none of
2003 Jun 28
1
Choosing subtitle language
I am wondering how negotiating about text subtitles is supposed to work in Theora?
(1) Will it be like the server first transmit a list of available languages, and then it's up to the client to possibly pick a language, either automatically or by user interaction, and then ask the server for that particular subtitle stream?
(2) Or will all subtitle streams be sent simultaneously and
2011 Aug 25
2
ask for one ogg test stream with cmml subtitle
Hi Developers,
I am looking for one ogg file with cmml subtitle to test my subtitle
code. But can not find in the web.
Anyone can help me.
best regards
BCXA
2002 May 06
4
Subtitle?
Hi,
Is it possible to add a subtitle that appears directly below the main
title?
I tried the "sub" parameter, but it adds sub-title to the bottom of the
plot.
Cheers,
Kevin
------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Postgraduate PGDipSci Student
Department of Statistics
University of Auckland
New Zealand
Homepage:
2009 Dec 13
3
Subtitle & conova post hoc
Hello,
I just have two questions I cannot figure out.
1) I would like to have a subtitle just below the main title
on my graphs and I cannot figure out how to do this, is it
possible? or is it only possible to have it at the bottom?
2) I need to run Conova post hoc test, do you know if it is
coded in R? any package I would find this test in?
Thank you very much for all the help
Have a nice
2007 Jan 08
1
libogg subtitle request
Hi to all ,
I like Theora and Vorbis , these codecs can make good streams patent-free.
But i miss one feature in Ogg container , i see a lot Theora videos of
Presentations , Conference and other talking acts , all with an average
quality (video and sound) but seeing these videos i realize the lack feature
of Ogg container , subtitle support.
These kind of videos are in a variety of languages
2011 Apr 04
1
lattice: how to "center" a subtitle?
Dear expeRts,
I recently asked for a real "centered" title (see, e.g., http://tolstoy.newcastle.edu.au/R/e13/help/11/01/0135.html).
A nice solution (from Deepayan Sarkar) is to use "xlab.top" instead of "main":
library(lattice)
trellis.device("pdf")
print(xyplot(0 ~ 0, xlab.top = "This title is now 'centered' for the human's eye",