Displaying 13 results from an estimated 13 matches similar to: "Help: Beanplots calculating wrong average"
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 overallline = F, overallline="n", and
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(0, 12000), log = "y") :
nonfinite axis limits
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 problem occurs
for
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 ?
Thanks !
Markus
[[alternative HTML version deleted]]
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 plot) then D and E (as
full beans).
2011 Jan 17
4
Extraction and replacement of data in a data frame
Dear R family,
I am a relative newbie and have been dabbling with R for a little while.
Simple things really, but my employers are beginning to see the benefits of
using R instead of excel. We have a remote monitoring station measuring
groundwater levels. We download the date as a .csv file and up until now,
we have been using excel to analyse the data. It?s been a hassle trying to
wrestle
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
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
2012 Apr 08
2
How to produce serveral plots with pairs of vectors
Dear R-Users,
I have a newbie-question about producing several plots with five variable
pairs within in one code (loop).
Problem:
I define two objects, erveryone has five vectors (columns /variables):
dimensionen <- data.frame(meinspss$attr_diff_gesamt,
meinspss$finanz_diff_gesamt, meinspss$leist_diff_gesamt,
meinspss$soz_diff_gesamt, meinspss$wert_diff_gesamt)
gruppe <-
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 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
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) )
2011 Jan 22
0
how to call BayesX in R to see the graph
Hi Everybody,
please can you help me how to call BayesX in R in order to see the graph
already exist in BayesX
Thanks
---------- Forwarded message ----------
From: <r-help-request@r-project.org>
Date: Sat, Jan 22, 2011 at 5:00 AM
Subject: R-help Digest, Vol 95, Issue 22
To: r-help@r-project.org
Send R-help mailing list submissions to
r-help@r-project.org
To subscribe or