Displaying 20 results from an estimated 8000 matches similar to: "Bar plot with error bars"
2007 Nov 26
1
spss, string factors, selecting
Hi,
I am having trouble with a large dataset I am importing from SPSS.
The problem is I have to merge two datasets (which seems to be
working OK) then select rows based on attributes. I have a column
with either blank cells, B or E entered. I want to select all rows
with E. I have other columns with numerical data which I will then do
analyses on.
data[column==" E"] does not
2007 Oct 24
1
rcmdr and mailing lists
I am trying to draw a bar chart with standard error bars for two
groups. I was struggling in R so have now managed to get rcmdr up and
running on my mac (although the help frequently crashes, everything
else seems fine, if a bit sluggish; wouldn't use it for stats). This
has allowed me to very easily create a plot of the means and standard
errors
BUT-does anyone know if it is
2013 Nov 27
1
Conditional error bars
How can I condition any error bar function that use the arrows() function,
such as 'CI.plot' (see example below) or 'error.bars', to draw only upper
error bar (upper CI) if the bar value (mean) is positive and the lower
error bar (lower CI) if bar value is negative?
CI.plot <- function(mean, se,length, ylim=c(-5, max(CI.H)), ...) {
CI.H <- mean+se
CI.L <- mean-se
2006 Mar 27
2
A plotting question - how to get error bars?
Dear R list,
Can anyone help with a plotting question? I'm trying to display some data
on a plot and I've almost got the format I need (see code below), but 2
things I can't get:
1. How to get "Jan","Feb","Mar" on the x=axis instead of 1:3?
2. How to get "T"s on the end of my error bars like you have in standard
scientific plots?
Any comments
2007 Jul 03
2
The R Book by M. J. Crawley
Hello all-
I would appreciate any guidance that can be provided. I am new to R and
am
using it exclusively in a statistics program I am undertaking that
mainly references
Minitab. My focus is on data modeling and further more multivariate
data analysis
as much of my work in involves chemical measurements from custom sensors
using
all sorts of transduction methods. I am looking for a
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
2009 Jul 31
1
x and y Error Bars
Hi All,
I have a question about plotting a one-to-one line and x-and-y error bars on a scatterplot for my data. I just can't seem to work it out!
I have data from an experiment with 7 different treatment levels with 3 replicates, that is set-out as follows:
Treatment Level Replicate Reponse-weight Covariate-weight
1 1 0.945
2000 Apr 19
1
scale factors/overdispersion in GLM: possible bug?
I've been poking around with GLMs (on which I am *not* an expert) on
behalf of a student, particularly binomial (standard logit link) nested
models with overdispersion.
I have one possible bug to report (but I'm not confident enough to be
*sure* it's a bug); one comment on the general inconsistency that seems to
afflict the various functions for dealing with overdispersion in GLMs
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]]
2011 May 23
2
Analog of least significant difference error bars for proportions
Dear R-list,
In the R-book, p.464, Michael Crawley recommends that error
bars for bar plots of normally distributed continuous response
variables with categorical explanatory variables be given by
1/2 of the least significant difference, where the least significant
difference is defines as
qt(0.975,degrees_of_freedom)*standard_error_of_the_difference.
The idea is that the above quantity
2011 Jan 18
2
Barplot and line x-axis positions
Hello all,
Hoping that there is a fairly simple solution to my query...
I'm trying to overlay a line plot of some data onto a barplot of different data. The y-axes are different for each set of data but the x-axes are the same (1:12, corresponding with 12 months of observations). The problem I'm having is that the centre of the bars and the points on line don't match up, which is
2008 Feb 15
3
lineplot.CI problem
Hi List,
I have a problem plotting data using the lineplot.CI command in the sciplot package.
I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing is that the data collection in the second case started later than for the first case. This is to say: the first n data points for the second case are missing.
So far so good. However,
2002 Jun 25
4
re: GUI's for teaching
Dear All,
This is a question to sound out possibilities.
I am with the Faculty of Natural and Agricultural Sciences at the
University of Western Australia, representing a few of the more
statistically minded in the faculty. Essentially, there have been
problems in the past with software support, changing over statistical
software, and paying lots of money for it. In R you have an advanced
2002 Jun 26
1
re: GUI's for teaching
Definitely 2 camps on this issue; so why not compromise with a drop-down
menu for the most frequently used processes, the user responds with the
necessary parameters for his choice, and R then writes the source statements
on the terminal and executes them. The user follows the familiar gui
procedure, is thereby automatically introduced to the command statements
involved, and R's
2005 Jan 14
2
Help in Overlaying of 2 Plots on the same Device.
I'm trying to overlay a density plot on a previously plotted histogram. However, i need to use the same axis as of the 1st(histogram) plot to plot the second. My second plot is creating its own axis and causing my plot to extend the entire histogram instead of getting a subplot on a portion of the histogram. I tried 'fig' and 'new' parameters with no luck.
Thanks in advance.
1999 Aug 26
1
error bars on barplots
Hello again
I'm trying to put error bars onto a barplot. I've tried something that
Bill Simpson suggested a while ago, ie:
x<-c(1,2,3,4,5)
y<-c(1.1, 2.3, 3.0, 3.9, 5.1)
ucl<-c(1.3, 2.4, 3.5, 4.1, 5.3)
lcl<-c(.9, 1.8, 2.7, 3.8, 5.0)
plot(x,y, ylim=range(c(lcl,ucl)))
arrows(x,ucl,x,lcl,length=.05,angle=90,code=3)
#or
segments(x,ucl,x,lcl)
but I can't get it to work on a
2011 Jan 20
1
Scale of 2nd y-axis
Dear list,
My query follows on from a question I posted a few days ago. I have the following 2 sets of data:
wetMeans[1] 9.904762[2] 6.344828[3] 6.346154[4] 6.855769[5] 9.074324[6] 9.953988[7] 13.482966[8] 14.546053[9] 10.841584[10] 9.752033[11] 6.739336[12] 8.955056burnMeans[1] 0.06214286[2] 0.05396552[3] 0.04096154[4] 0.05302885[5] 0.05831081[6] 0.07392638[7] 0.29969940[8] 0.25596217[9]
2002 Jan 07
1
Help with displaying multiple data elements on one graph
I'm interested if anyone can help me to the R to display multiple data
elements on one graph - just a simple graph, nothing fancy. I can't seem
to find an example of this. An example of what I'm looking for is, say, a
CPU graph which graphs user, system, and idle time as a cumulative stack
representing each data element as a different color. See the following URL
for an example
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 Mar 11
4
error.bars
Hi, I'm trying to use the function "error.bars", but the program don't
find it, and I dont't found any package with this function. Is there some
another functin to draw barplots with error bars?
Sueli Rodrigues
Eng. Agr?noma - UNESP
Mestranda - USP/ESALQ
PPG-Solos e Nutri??o de Plantas
Fones (19)93442981
(19)33719762