Displaying 20 results from an estimated 2000 matches similar to: "graphing with error bars"
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
2008 Jun 27
2
converting numbers to characters
Hi,
I need to convert numbers to characters in order
to index an array when I encountered the number
100000 which turned into "1e+05".
Does anyone know how to get around this problem?
Lana Schaffer
Biostatistics/Informatics
The Scripps Research Institute
DNA Array Core Facility
La Jolla, CA 92037
(858) 784-2263
(858) 784-2994
schaffer at scripps.edu
2009 Aug 17
4
vector replacement 1/0 to P/A
Hi,
Can someone suggest an efficient way to substitute a vector/matrix
which contains 1's and 0's to P's and A's (resp.)?
Thanks,
Lana
2004 Sep 06
4
how to add error bar to the data in R?
Dear all,
Does anyone knwo how to add error bar to the data point in a simple
xyplot? Right now, I have a .dat file including both the data points and
their standard deviation and read it in R. I tried function arrows(). But
it didn't gave me any arrows.
Thanks for the help!
Jeny
2009 Feb 13
1
error with make
Hi,
I am trying to compile the R-dev version on a unix Suse machine
and got errors.
Would someone be able to help me determine what to do to fix
these errors:
make[1]: Entering directory `/lustre/people/schaffer/R-devel/m4'
make[1]: Nothing to be done for `R'.
make[1]: Leaving directory `/lustre/people/schaffer/R-devel/m4'
make[1]: Entering directory
2008 Jul 03
1
subset function within a function
Hi,
I am using this subset statement and it works
outside a function.
LIS[[i]]<- lapply(LI, subset, select=cov[[i]])
However, wrapped inside a function this statement
produces the same values for every LIS[[1]] which
is only the first subset of LI.
Does anyone know why is not working correctly inside
a function?
ff = factor(covariate)
nLev <- nlevels(ff)
cov <-
2004 Aug 20
3
Partial Least Squares
Friends,
Is there a Partial Least Squares package implemented in R?
Thanks,
Lana
[[alternative HTML version deleted]]
2003 Dec 20
7
error bars around a point
All
Is there an R command to produce error bars around
a plotted point. Crawley's book uses the command
error.bar() but my version of R rejects it. Must be an
S+ command(?).
Thanks
REX
[[alternative HTML version deleted]]
2004 Jul 07
1
command line interface
How can plots (histograms) be implemented with the command line interface to R?
Lana Schaffer
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 <-
2008 Mar 13
1
how to generate bar charts with the standard deviation
Hi,
I have the two vectors mean and sd of individual columns, but I am unsure
how to generate bar charts with the standard deviation, even after looking
the help of barplot and barplot.2.
[[alternative HTML version deleted]]
2004 Feb 10
3
confidence-intervals in barchart
Hi R users,
1) How does one show confidence-intervals in a barchart and use rownames for
labels on the y-axes? I have looked at "plotCI" in "gregmisc" package . But
it does not seem to produce something like a barchart. The statistic, error,
upper-bound, and lower-bound are in a dataframe.
2) How to show CI in a barchart either using the statistic and, either (a)
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
2004 May 09
2
Using known errors and error bars
Hi,
I'm now to R and hope (actually, I'm quite sure) you can help me. I made
an experiment and measured two values. As I know the errors of these
values I want to use them with the linear regression,
eg
Value A
1.1+-0.02
1.9+-0.05
3.05+-0.03
4.0+-0.01
5.1+-0.06
Value B
4.2+-0.14
5.3+-0.05
6.8+-0.11
7.9+-0.01
8.5+-0.02
lm(B~A) does the linear regression but how can I
2002 Jun 17
3
Error bars.
There was an inquiry on this list recently about plotting some simple
error bars on a graph. Now Splus has a function (error.bar ---
originally written by Sue Clancy of DMS, CSIRO, I believe) to do this
job virtually at the touch of a key. (Well a few keys. :-) ) The
error.bar function is written completely in raw S --- no calls to
``.Internal'' or anything like that. So it would be
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
2005 Sep 20
5
Neat way of using R for pivoting?
Hi,
I'd like to use R to do what excel pivot tables do, and plot results.
I've never used R before, and I've managed to do something, but it's quite a
lot of code to do something simple. I can't help but think I'm not "Doing it
the R way".
I could be using R for the wrong thing, in which case, please tell me off.
I was hoping something like plot(by(t,
2003 Jul 09
2
Showing limits on line graphs
Is there a function that would allow me to create a line graph of some central tendency, such as mean, with limits indicated by a vertical line at each data point, i.e. SD? It's a fairly common type of graphic, but in looking through examples I have been able to find, I have found no function for such a graph.
Thanks in advance,
Harvey
2004 Feb 10
2
confidence-intervals in dotchart
My earlier posting should have said "dotchart", not "barchart".
1) How does one show confidence-intervals in a "dotchart" and use rownames
for labels on the y-axes? I have looked at "plotCI" in "gregmisc" package .
But it does not seem to produce something like a dotchart. The statistic,
error, upper-bound, and lower-bound are in a
2003 Feb 28
1
Error bars for interaction plots
How do I add error bars to an interaction plot of means?
Thanks