similar to: adding error bars

Displaying 20 results from an estimated 11000 matches similar to: "adding error bars"

2010 Feb 18
2
Error message when using error.bars(x,add=TRUE)
Hey hey, I`m analyzing a data set containing the element contentrations of various samples... I wanted to construct notched boxplots and got quite ugly results for some of the boxplots. The notches are often larger then the hinges which resulted in weird looking edges (even though I`m using a log-boxplot). To avoid this problem I thought about using "normal" log-boxplots and adding some
2008 Oct 08
1
Strange horns on notched box plots
Hi I'm getting a weird result when I try to switch from a normal box plot to a notched one. The ends of the box fold down toward the median giving a horned appearance. Is just the sample itself? It is small, but the un-notched plot looks okay. Anyway to fix this? e7=as.vector(c(234,37,98,116,47)) boxplot(e7, plot=TRUE, notch=TRUE) Thanks very much.
2009 Sep 29
2
ggplot2 box plot notches
Dear List, I just googled to find out if notched box plots are possible with ggplot2, but couldn't find a answer to it. boxplot() has the option: notch = TRUE, e.g.: boxplot(mpg$hwy, notch=TRUE) My example code (taken from the net) is: require(ggplot2) qplot(class, hwy, fill=factor(year), data=mpg, geom="boxplot", position="dodge")+theme_bw() Thank you for you help!
2004 Sep 16
2
date library and notched boxplots
I'm having problems using the date library with notched boxplots. I have separate month, day, and year columns and would like to plot the columns as a date against other variables. I have used the mdy.date(month,day,year) command before with plot(), but it doesn't seem to work with boxplot(). Instead of the dates along the x-axis, I get a list of numbers. Maybe I have the code wrong?
2010 Apr 06
1
Error bar
Hi there, Using the code below I generated the plot attached. The error bars at day = -3, 2 and 4 appear are larger. I was thinking if there is a way I could make all the error bars to be of the same size. I don't know if that makes sense. If not, then, is there a way I can plot only these 3 largest errorbars at day axis (day = -3, 2 and 4) and omit the rest of the error bars. I would be much
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
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
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) :
2002 Jul 18
1
boxplot $conf
Hello R-Help, Could anybody tell me how the boxplot-function calculates the upper and lower extremes of the notch contained in $conf which I assume is the confidence interval? Is it reliable for data which is not normally distributed? If not, how can I calculate and boxplot a specific confidence interval for not normally distributed data in R (increasing the sample size does not normalize the
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/>")
2010 Mar 09
3
Removing Zeros from matrix
Hi Everybody, I have a matrix of about 45 columns. Some of the rows contain zeros. Using >data1<-data[complete.cases(data),], I can remove the "NA" rows. But I am unable to tackle that of zeros. Can anybody give me an idea of how to remove rows containing zeros in a matrix. Thanks so much Best Ogbos [[alternative HTML version deleted]]
2005 Apr 19
1
controlling the x axis of boxplots
v 2.0.1 (sooooh old!) on Win2k I think I know the answer to this but I can hope ... I have data for continuous variables (measures of residents) by a categorical variable in range (1,22), the units in which they live. I want to plot these data with a pair of boxplots one above another with same x-axis (1,22) using par(mfrow=c(2,1)) and then plotting first for the women then for the men.
2008 Apr 21
3
Choice of notch size in R
Is there a way to modify the choice of notch size [1] in R's boxplot routine from outlining a 5% significance region, to say 1% or lower? Thanks, Alex [1] McGill, Tukey, and Larsen. "Variations of Box Plots", The American Statistician, Vol. 32, No. 1, 12-16.
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
2006 Jan 23
1
too-large notches in boxplot (PR #7690)
PR #7690 points out that if the confidence intervals (+/-1.58 IQR/sqrt(n)) in a boxplot with notch=TRUE are larger than the hinges -- which is most likely to happen for small n and asymmetric distributions -- the resulting plot is ugly, e.g.: set.seed(1001) npts <- 5 X <- rnorm(2*npts,rep(3:4,each=npts),sd=1) f <- factor(rep(1:2,each=npts)) boxplot(X~f) boxplot(X~f,notch=TRUE) I can
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
2010 Jun 07
2
Polar coordinate
Greetings to you all. I have two datasets - Time and magnitude. For a particular location, the magnitude of the parameter varies with time. I wish to obtain a polar coordinate distribution of time (0-24h) and magnitudes so as to visualize how magnitude varies with different times of the day (e.g., morning, midnight hours). I have searched for "polar coordinates in R" but could not get
2011 Jul 27
2
Expression: +/-sigma
Dear List, I am trying to label a plot with the symbol +/- sigma. Using something like - expression (2*sigma) gives me the symbol 2ó. However, adding +/- to it beats me. The code I am using is: plot(x,y,type="l",main=" expression(paste("±", plain(2*ó)),sep=""). Any suggestion will be appreciated. Best Ogbos [[alternative HTML version deleted]]
2018 Jan 22
2
Manipulating two large dataset differing by date and time
Dear Members, Compliments of the Season!! Below is a part of a code I use for Fourier analysis of signals. The code handles data with the format 05 01 01 8628 (year, month, day and count) 05 01 02 8589 (year, month, day and count) The sample data is attached as 2005daily.txt. I would like to adapt the code to handle data of the form: 05 01 01 00 4009
2006 Feb 20
3
Boxplot Help for Neophyte
R helpers I am getting to grips with R but came across a small problem today that I could not fix by myself. I have 3 text files, each with a single column of data. I read them in using: myData1<-scan("C:/Program Files/R/myData1.txt") myData2<-scan("C:/Program Files/R/myData2.txt") myData3<-scan("C:/Program Files/R/myData3.txt") I wanted to produce a