search for: beanplot

Displaying 12 results from an estimated 12 matches for "beanplot".

2018 Feb 13
3
Suppress horizontal mean line in beanplot()
Hi, I would like to use the beanplot() function from the beanplot package. Unfortunately, I can't find out how to suppress the dashed horizontal line, that shows the overall mean. In the help I've found the argument "overallline", but it only allows for "mean" or "median" . I have tried overa...
2011 Nov 10
1
beanplot without log scale?
Is it possible to force beanplot not to use a log scale? I want to be able to create multiple beanplots of different data on the same specified y-axis. When I try to force a ylim, I get the following... > beanplot(reg5vel,ylim=(c(0,12000))) log="y" selected Warning message: In plot.window(xlim = c(0.5, 7.5), ylim = c...
2012 Jan 13
2
beanplot-Error: sample is too sparse to find TD
Hi all, Since two days I am trying to find a solution to be able to create beanplots for my data. When I call the beanplot function the following error appears: > beanplot(y1 ~ x1, log="", what=c(1,1,1,0), ylim=c(0,1)) > Error in bw.SJ(x, method = "dpi") : sample is too sparse to find TD What is really strange: I have 32 different vectors and the proble...
2009 Dec 10
1
Help with beanplot fromatting
Dear Helpful R Users, I am graphing some data using the beanplot, but I am having trouble getting the output I desire. I have five tanks (A-E) and 2 groups for each tank grp1 or grp2, except tank C where there is only grp1. (I only changed the grouprep to "C grp1" for the example) When I plot them, I would like A B C(only grp1 - half of the bean p...
2009 Nov 24
3
Help: Beanplots calculating wrong average
Hi there, I have a set of data that looks like this: As1988<-c(1254.0, 22.0, 4.2, 1081.0, 35.0, 6.0, 1772.0, 192.0, 7.6) The mean of this (as calculated by R) is: 485.9778 The median of this (as calculated by R) is: 35 If I then make a beanplot(As1988), I find that the beanline (average) is now 77.68561 while the beanline (median) is 35.39739 (using the locator function to check the graph and log axis). While I can understand the small discrepancy of the median(mouse hovering over the line), I am at a loss to explain the huge differen...
2009 Feb 06
1
beanplot, Error in shapiro.test(x)
Dear all, I am trying to create beanplots from a dataset for which boxplot works fine. (MACOS, R 2.8.1 GUI 1.27 Tiger build 32-bit (5301)) I am getting the following error message: Error in shapiro.test(x) : sample size must be between 3 and 5000 I am not even sure why the shapiro.test is being used, but is there any workaround ? Thank...
2010 Aug 27
3
checking if a package is installed
Hi, I am writing a function that requires a specific package to be installed. Is there a way of checking if the package is installed and returning a TRUE / FALSE result so my function can return an appropriate error message and exit the function gracefully rather than just bombing out? I'm thinking along the following lines (but want code that works), f_checkpackage <- function() { if
2012 Apr 08
2
How to produce serveral plots with pairs of vectors
...;- data.frame(meinspss$attr_diff_gesamt, meinspss$finanz_diff_gesamt, meinspss$leist_diff_gesamt, meinspss$soz_diff_gesamt, meinspss$wert_diff_gesamt) gruppe <- data.frame(meinspss$R1_02, meinspss$R2_02, meinspss$R3_02,meinspss$R4_02,meinspss$R5_02) Now I would like to plot five similar graphs (beanplots, boxplots) for every pair of vectors (dimension by gruppe) . This works: box plot (dimensioned) - I receive a plot with 5 boxes. This does not work: boxplot (Dimensionen ~ Gruppe) - I would like to receive 5 plots I get the error message: Fehler in model.frame.default(formula = dimensionen ~...
2010 Dec 23
1
Vioplot / list help
Hi, I have some data (lots of year,distance pairs), which I can straightforwardly boxplot: dists <- read.table("movedists.dat") with(dists,plot(as.factor(V1),V2)) If I want to plot these data as violin plots using vioplot, this approach doesn't work: > with(dists,vioplot(as.factor(V1),V2)) Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, : min not
2010 Dec 20
4
Time Series of Histograms
Dear List, I have a set of distributions recorded at an equal interval of time and I would like to plot them as series of horizontal histograms (with the x-axis representing time, and y-axis representing the bins) since the distribution shifts from unimodal to multimodal in several occasions. What I would like to see is something close to a violinplot, but I do not want a kernel density
2011 Dec 09
3
Como marcar la media en un grafico boxplot ??
Estimados amigos, mi pregunta es bien directa, a ver si alguien me puede ayudar: Como marcar la media en un grafico boxplot ?? Por lo que veo, los boxplot en R marcan por defecto la mediana dentro de la caja, pero necesito marcar la media y ojala sacar la mediana para que no aparezcan los dos parametros. Por lo que he leido, imagino que se puede hacer con alguna funcion de bajo nivel, pero soy
2010 Dec 19
3
monthly median in a daily dataset
Hello, I have a multi-year dataset (see below) with date, a data value and a flag for the data value. I want to find the monthly median for each month in this dataset and then plot it. If anyone has suggestions they would be greatly apperciated. It should be noted that there are some dates with no values and they should be removed. Thanks Emily > print ( str(data$flow$daily) )