Displaying 20 results from an estimated 2000 matches similar to: "Error bar"
2010 Apr 07
0
Error bar:Problem Fixed
Great stuff! Both plotrix and plotCI do the same but what count most here is
the idea of assigning NA to some of the ciw values. Following your code, I
assign "ciw[c(1,2,4,5,6,7,9,11)]<-NA" and that left me with the three error
bars I wanted to display.
Many thanks and warmest regards
Ogbos
On 7 April 2010 00:28, Jim Lemon <jim@bitwrit.com.au> wrote:
> On 04/07/2010 03:49
2010 Apr 06
1
plot.png
I've shared a document with you:
plot.png
http://docs.google.com/leaf?id=0B_J5_yv8GrERYWRhZjU4NDItMmMyOS00ZGIxLWE2ZDUtMDFiYTY3MzliMzhk&hl=en&invite=CI2a3aYC
It's not an attachment -- it's stored online at Google Docs. To open this
document, just click the link above.
[[alternative HTML version deleted]]
2006 Sep 24
2
plotCI
Hi R masters!
I need a Help with plot confidence intervals for one equation. I use
library gplots and plotCI command in this script:
require(gplots)
ano <-1980:2002
rf<-exp(91.37162-0.04720281*ano)
ciw.f<-sqrt(1.766073e-08)
plotCI(ano,rf,uiw=ciw.f)
But in the graph not shown the errors bar and I have this error msg
zero-length arrow is of indeterminate angle and so skipped
2009 Aug 12
1
A function for plotting a boxplot with added dot and bars (for mean and SE) - please help improve my code
Hello people,
A while back I wanted to plot boxplots with interactions that will have a
dot for the mean of the sample + bars for the SE.
After searching for some code, I found something that did it for one level,
but couldn't find something that will allow for interactions the way the
original boxplot does.
After playing with the original code, I found a way for allowing the boxplot
code to
2008 Jun 09
1
Student Distribution and Funtion qt
Hello,
I am trying to calculate and plot mean and confidence intervall for a set of data. This is the code that I am currently using:
means <- sapply(data, mean, na.rm=TRUE)
n <- sapply(data,length)
stdev <- sqrt(sapply(data, var, na.rm=TRUE))
ciw <- qt(0.98, n) * stdev / sqrt(n)
par(mgp=c(2,0.6,0), las=2, fin=c(7,3), mai=c(1,0.5,0.2,0.2), cex=0.8)
plotCI(x=means, uiw=ciw,
2013 Feb 11
2
How to plot doubles series with different location using plotCI
Dear list
members,
I would
like to create two series of plotted mean values and error bars, yet with
different locations along the x-axis.
Plotting of
first series using plotCI with the standard arguments goes without any problem.
However I do not succeed to add the second series in the same plot, which
should be horizontally shifted from the first series along the x-axis. The “add=TRUE”
2011 Nov 15
2
break error bars in ggplot2
Hello,
i use ggplot to plot some measures including CIs as horizontal errorbars. I get an error when the scale limits are narrower than the boundaries of the error bar and hence the CIs are not plotted.
library(ggplot2)
df <- data.frame(resp=c(1,2), k=c(1,2), se=c(1,2))
ggplot(df, aes(resp,y=k)) + geom_point() + geom_errorbarh(aes(xmax = resp + se, xmin = resp - se)) +
2010 Jun 05
1
Error Bar Issues
Hello all,
I am an undergraduate student who is having syntax issues trying to get
error bars on my graph.
This is the data, which I assigned the name "Saline" to.
Time Average SEM
1 -20 0.000000 0.0000000
2
3 30 0.000000 0.0000000
4 45 3.227902 0.7462524
5 60 5.066664 1.1623944
6 80 6.107491 1.5027762
7 110
2011 Jan 26
3
adding error bars
Dear all,
I am trying to add error bars on a boxplot but have encountered an error as
indicated below. Is there a package I need to install or a library I have to
load before this goes please.
Thanks for any idea.
Ogbos
x<-replicate(20,rnorm(50))
boxplot(x,notch=TRUE,main="Notched boxplot with error bars")
error.bars(x,add=TRUE)
Error: could not find function "error.bars"
2024 Mar 29
2
Output of tapply function as data frame: Problem Fixed
Dear Rui,
Thanks again for resolving this. I have already started using the version
that works for me.
But to clarify the second part, please let me paste the what I did and the
error message:
> set.seed(2024)
> data <- data.frame(
+ Date = sample(seq(Sys.Date() - 5, Sys.Date(), by = "1 days"), 100L,
+ TRUE),
+ count = sample(10L, 100L, TRUE)
+ )
>
> # coerce
2024 Mar 29
1
Output of tapply function as data frame: Problem Fixed
?s 01:43 de 29/03/2024, Ogbos Okike escreveu:
> Dear Rui,
> Thanks again for resolving this. I have already started using the version
> that works for me.
>
> But to clarify the second part, please let me paste the what I did and the
> error message:
>
>> set.seed(2024)
>> data <- data.frame(
> + Date = sample(seq(Sys.Date() - 5, Sys.Date(), by = "1
2006 Feb 01
1
several plots in one
Can anyone tell me how I can supply more than one graph to plotCI
(gplots) at once?
Below is what I tried, also with rbind instead of cbind.
What is the way to do this (in general, I think)?
Problem is that lines of 1-st and 2-nd series are mixed, while they have
nothing to do with each other.
I also tried calling plotCI with argument add=TRUE, which didn't seem to
work (that is actually
2009 Aug 27
2
chooseCRANmirror()
Hello,
I am runing linux on Ubuntus. I find it difficult to install R packages. I
am in South Africa. It always asked me to choose the nearest CRAN mirror. I
normally choose South Africa and once I clicked Ok, the error message pasted
below will appear. Please I am a new student of R and Ubuntus. The other
warning "argument 'lib' is missing: using
2016 Apr 30
3
Could not find function "pointsToRaster"
Dear All,
I have a script that draws longitude and latitude of lightning
occurrence. This script was running fine before. But when I changed my
system and do a fresh install on another laptop, this error persist.
source("script")
Error in eval(expr, envir, enclos) :
could not find function "pointsToRaster"
I have tried to see if there is any other package I need to install
2024 Jul 24
1
OFF TOPIC: Nature article on File Drawer Problem in Reserach
Dear Bert,
You have made my day!! Your post is a great help and very useful in my
field.
The paper is not among the off-the-shelf research output. Some of us, who
get into unenviable conflict and disputation with some reverenced
authorities in our field, understand the weight of the article. I had not
even consumed half of it before I decided to thank you. I will quickly go
back to see how it
2006 Mar 15
1
errorbars with xyplot
Hi everyone,
I'm very new to R and I like to learn a lot... actually I have a little
problem concerning errorbars with xyplot.
My data look like
run target hemi x
1 1 Nichts Links 0.0007743240
2 2 Nichts Links -0.0008153365
3 1 Target Links -0.0015825950
4 2 Target Links 0.0088743785
5 1 Nichts Rechts 0.0015898995
6 2 Nichts Rechts -0.0011465190
7 1
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:
2009 Aug 27
2
Installing R Packages on ubuntus
Hello,
Please I am a learner. My operating system is ubuntus and I am trying to
install raster package from R-forge site. I entered sudo apt-get install
r-base-dev on the command line and that worked fine. I then typed R at the
command line so as to run R. Inside R, I typed >
install.packages("raster",repos="http://R-Forge.R-project.org<http://r-forge.r-project.org/>")
2011 Nov 16
3
plotting a double y axis when x and y lengths differ
Hello All,
Many thanks to the help I have received so far.
Here is an example data set I hope to plot
Data1
Year Data SE
1 2005 2 0.01
2 2006 4 0.01
3 2007 5 0.01
4 2008 2 0.01
5 2009 3 0.01
6 2010 6 0.01
Data2
Year Data SE
1 2006 32 1
2 2007 100 2
3 2008 60 4
4 2009 67 3
5 2010 8 1
Notice Data2 has one less years worth of data than Data1 (which is my
2009 Aug 25
2
latitude and longitude distribution
Good day to you all,
I have lightning data containing date, time, latitude and longitude. I hope
that distribution of latitude and longitude will give number of lightning
occurrence in a region. I have used factor function to sum up the number of
events on latitude and longitude axis and saved as x and y. But when I tried
to plot the two, I had and error message ( Error in image.default(x, y, z) :