Displaying 20 results from an estimated 3000 matches similar to: "Graphically centering confidence interval in barplot"
2005 Apr 14
3
Wrapping long labels in barplot(2)
I am using barplot, and barplot2 in the gregmisc bundle, in the
following way:
barplot2(sort(xtabs(expend / 1000 ~ theme)),
col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1,
xlab = "$ '000", plot.grid = T)
The problem is that the values of 'theme', which is a factor, are in
some cases rather long, so that I would like to wrap/split them at a
space once they
2009 Nov 26
1
Barplot with confidence intervals
I have a file in the following format:
Scenario1 Scenario1CIL Scenario1CIU Scenario2 Scenario2CIL Scenario2CIU
60 57 62 45 48 50
110 101 111 51 50 52
120 117 122 64 62 66
192 190 194 79 75 79
where:
First column = Scenario1 mean value
Second column = Scenario1 Low Confidence Interval
Third column = Scenario1 Upper Confidence Interval
Fourth column = Scenario2 mean value
Fifth column =
2010 Nov 23
1
Barplot and plot means with confidence intervals in the same plot
I want to obtain a barplot with error bars and a mean plot with error bars
with other scale on the left in the same plot. I need help to get the same
x axis (centered) when overlay two plots (barplot2 and plotCI (or
lineplot.CI) with errorbars), with diferent y axis. I use par (new=T) but
the X axis names are not centered with the figures.
An example of my data:
2005 Apr 12
1
Cumulative Points and Confidence Interval Manipulation in barplot2
R-Users,
I am working with gplots (in gregmisc bundle) plotting some posterior
probabilities (using barplot2) of harvest bag limits for discrete data
(x-axis from 0 to 12, data is counts) and I ran into a couple of
questions whose solutions have evaded me.
1) When I create and include the confidence intervals, the lower bound
of the confidence intervals for several of the posterior probabilities
2005 Feb 24
2
Forward Stepwise regression based on partial F test
I am hoping to get some advise on the following:
I am looking for an automatic variable selection procedure to reduce the
number of potential predictor variables (~ 50) in a multiple regression
model.
I would be interested to use the forward stepwise regression using the
partial F test.
I have looked into possible R-functions but could not find this
particular approach.
There is a function
2005 May 06
4
Change class factor to numeric
I am attempting to develop a multiple regression model using selected
model variables that should all be treated as numeric (mostly real)
values.
However, R considers one specific variable "mass" automatically to be of
class "factor", probably because "mass" consists of integer values that
are repeated.
I now want to force R to treat "mass" as a numeric
2004 Nov 26
2
barplot(2?) with CI from a zero reference line
Dear R Users, (and dear Marc)
First of all many thanks for the answers to my previous questions.
I would like to barplot the mean percent change of a variate with it's
CI. Bars should start from the zero reference line to height (in
barplot2).
Is there a way to tweak barplot2, for example, to do that ?
I have tried to see what the function was but unlike other functions was
not able to
2007 Sep 12
2
barplot border width
I need to increase the width of the border in a barplot, i checked both
barplot, and barplot2, but cant find how to do it. how can I do?
thank you
john
[[alternative HTML version deleted]]
2007 Mar 01
2
barplot2, gap.barplot
Hello,
I try to handle a simple bar-plot, but it turns out to be not as simple
as I thought.
1) I have created a .dat-File, e.g. test.dat:
DATA DATA-SEM
2.2 0.32
6.2 1.30
12.7 1.61
48.6 3.08
4.1 0.86
4.5 0.32
1.5 1.13
1.2 1.08
The first row is the data represented by bars. The second row deals with
the Standard Error of Mean. The lines correspond to time-intervals of
experiments.
2) I now
2005 Jul 08
1
Overlying a Normal Dist in a Barplot
R-Users,
Hopefully someone can shed some light on these questions as I had
little luck searching the archives (although I probably missed something
in my search due to the search phrase). I estimated multinomial
probabilities for some count data (number successful offspring) ranging
from 0 to 8 (9 possible response categories). I constructed a barplot
(using barplot2) and I want to
2017 Jan 27
4
Suggestion: barplot function
Hello developers folks!
First, congratulations for the wonderful work with R.
For science, barplots with error bars are very important. We were
wondering that is so easy to use the boxplot function:
boxplot(Spores~treatment, col=treatment_colors)
But there is no such function for barplots with standard deviation or
standard error. It becomes a "journey" to plot a simple graph (e.g.
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
Dear R graphics gurus,
Another question about lattice graphics. This time I would like to plot
means and confidence intervals by group factor in a lattice graph. I can
not find any working lattice examples. Maybe a custom panel function is
the answer, but that is a bit beyond me for now.
The individual plots within the lattice graph could look like this:
# Example with confidence intervals
2005 Jun 30
2
How to rotate the axisnames in a BARPLOT
Hi all,
- how can I do a barplot with rotated axis labels? I've seen the example for
just a plot in the FAQ, but I'll missing the coordinates to plot my text at
the right position beneath the bars.
Is there any (easy?) solution?
- how can I set the y-axis in a barplot to logarithmic scale?
Many thanks in advance!
Best Regards
Tom
--
2006 Mar 08
1
Adding polygons to a barplot
I have a barplot I have created using barplot2 and I have been able to
add points and lines (using the points and lines methods,
respectively). I now need to add some polygons (triangles in
particular), that I want to be shaded to match bars in the plot. I
can get the coordinates of the corners of the triangles, but don't
know how to draw the triangles. I know there is the grid.polygon
2005 Jun 04
1
barplot and missing values?
I want to include missing values in my barplot to get the correct x-axis,
for example,
x <- c(1,2,3,4, 9)
y <- c(2,4,6,8,18)
barplot(y)
The above looks wrong because the last height in y should be a long way
over.
So I want to do something like...
x <- c(1,2,3,4,5,6,7,8, 9)
y <- c(2,4,6,8,0,0,0,0,18)
barplot(y)
However...
I am actually using barplot2 to use the
2005 Jul 11
2
(no subject)
Hello,
The estimate of glm dispersion can be based on the deviance or on the
Pearson statistic.
I have compared output from R glm() to another statastical package and
it appears that R uses the Pearson statistic.
I was wondering if it is possible to make use R the deviance instead by
modifying the glm(...) function?
Thanks for your attention.
Kind regards,
Robin Smit
This e-mail and its
2002 Oct 09
1
log in barplot
Hi,
In plot, axis can be in log format, e.g. plot(*, log="y")
Does a similar option exist for barplot ?
Thanks
Juli
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject
2004 May 24
1
barplot
I??ve tried version 1.9.0 barplot with these (and others) example from the
help page:
tN <- table(Ni <- rpois(100, lambda=5))
r <- barplot(tN, col='gray')
I get :
<<...OLE_Obj...>>
Same example with version 1.8.1 gives the following result:
<<...OLE_Obj...>>
What is wrong with v.1.9.0?
Thanks,
Carlos Guevel
2003 Dec 23
1
How can I put error bars on a barplot() ?
Hi all,
I am a relatively new R user... trying to put error bars (from SD values) on my data represented with barplot(). But I can't find any function or instruction to do so.
Is there an easier way to do this than using segments() as I saw in an example in the R reference manual ? Then, can I define there graphical apparence ?
Thanks for help.
Regards
Olivier BUHARD
[[alternative HTML
2005 Apr 04
1
Object item extraction
Hello
I am able to extract partial regression coefficients from a fitted model
object "model", i.e.
model <- lm(var.sel.gkm, weights = count.gkm, data = DATA)
summary(model)
write.table(model$coef, file = "C:/coef_CO_gkm.txt", row.names = TRUE,
col.names = TRUE)
I was wondering if anyone could advise me how to extract other object
items such as std. error, t-values