Displaying 20 results from an estimated 2000 matches similar to: "how to generate bar charts with the standard deviation"
2007 Oct 21
2
scatter plot with 1 standard deviation for each point
Hi,
Could anyone give suggestions how to plot a scatter plot with 1 standard
deviation for each point. To make it clearer, here is a simple example: the
scatterplot is plot(X, Y), but I want to add 1 standard deviation according
to the value of Z for each Y.
X Y Z
1 3.5 1.1
. . .
. . .
. . .
Thanks a lot in advance.
FD
[[alternative HTML
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 Dec 01
8
Impaired boxplot functionality - mean instead of median
Hello to all users and wizards.
I am regulary using 'boxplot' function or its analogue - 'bwplot' from
the 'lattice' library. But they are, as far as I understand, totally
flawed in functionality: they miss ability to select what they would
draw 'in the middle' - median, mean. What the box means - standard
error, 90% or something else. What the whiskers mean -
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 <-
2009 Mar 22
1
barplot2 x-axis
Dear R users,
I am trying to build a barplot2 graph however I can't find a way of defining
the scale for the x-axis.
I would like to show in my x-axis only the numbers 0, 25, 50, 75 etc. (so
far R is giving me a random scale hard to interpret and it doens't look
nice...). Could anyone advise me on how to do this please, it would be a
great help! Thank you.
Below I show the code I have
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 Jun 14
3
Confidence intervals plot
Hi all!!
I am trying to plot several confidence intervals in a unique plot. That is, for each x, I have a confidence interval for a parameter related to x and I would like to plot them in the same plot, in order to compare them. The plot would look like some parallel vertical lines, each one corresponding to a x value. Their extrem points would be the confidence interval limits.
I do not know if
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.
2009 Mar 18
2
Three Parameter FRECHET Distribution
Dear R Helpers
Which package is available for estimatine the parameters of three parameter FRECHET distribution. Also, how to generate the random numbers for Frechet using these three estimated parameters.
Thanking in advance
Maithili
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
2009 Jul 09
9
Population pyramids
Hi, I hope somebody can help me with this issue: I am doing population pyramids using the barplot command, so in the left side I have male age structure and in the right side the female age structure. To plot the male age structure I put the data in negative numbers. Now, I want to change the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I
2010 Aug 28
1
star models
Hi,
I am traying to implement an STAR model, but I have some problems.
I am following the instruction of the model, that they are in:
http://bm2.genes.nig.ac.jp/RGM2/R_current/library/tsDyn/man/star.html
that they are from:
http://bm2.genes.nig.ac.jp/RGM2/pkg.php?p=tsDyn
The model is:
star(x, m=2, noRegimes, d = 1, steps = d, series, rob = FALSE, mTh,
thDelay, thVar, sig=0.05, trace=TRUE,
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 Sep 12
1
How to visualize paired t-test results?
I would like to know if you have any suggestions how to visualize the
results from a paired t-test (see the example data below). I tried to
produce plots that show the mean and CI's from the original data and the
estimate of the difference between means and the confidence intervals (see
below) from the t-test. I really don't know what would be the best way to
graphically display the
2009 Dec 05
1
Forest Plot
Hi All,
I want to produce a similar "Forest Plot" as it is on the following link,
but my data would be having only two columns (one for "Estimate" and other
for "Std. Dev"). Can anyone suggest some function() {Package} which can take
such file as an input and give following forest plot:
2010 Jun 03
3
(no subject)
Dear R users,
I am trying to draw error bars in a bar plot, I use this code (tried many others which did not work):
install.packages()
library(gplots)
y <-c(39.02, 46.42)
se <- c(7.57,7.35)
plot <- barplot(y, beside=TRUE, col=0, ylim=c(0,47), axis.lty=1, main="far-red", xlab="latitude", names.arg=c("56N", "68N"))
superpose.eb(plot, y, se,
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
2007 Jul 25
3
Constructing bar charts with standard error bars
I am new to R.
I want to graph group data using a "Traditional Bar Chart with Standard
Error Bar", like the kind shown here:
http://samiam.colorado.edu/~mcclella/ftep/twoGroups/twoGroupGraphs.html
Is there a simple way to do this?
So far, I have only figured out how to plot the bars using barplot.
testdata <- scan(, list(group=0,xbar=0,se=0))
400 0.36038 0.02154
200 0.35927
2011 Jun 03
2
Y error bars, dates on the X-axis
Dear forum,
Does anyone know any functions for plotting vertical error bars, if the
x-axis variable is a date?
I can produce a pretty plot with dates on the x-axis, if I don't want to
include error bars. I can also produce a nice plot with error bars, if I
just use Julian days for the x-axis, but I'd much rather have the actual
dates.
I have tried writing my own function, plotCI
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