Displaying 20 results from an estimated 100 matches similar to: "beanplot without log scale?"
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
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
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).
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
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]]
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
2003 Nov 06
1
some error messages using arm cpu with Debian
I have a small handheld pc having ARM process as a CPU. I installed debian and installed R using apt-get command. Everything worked great except for drawing even simple graphs
x <- 1:10
plot(x)
I got error messages
1: Nonfinite axis limits [GScale(nan,nan,1, .); log=0]
2: relative range of values = 9.0072e+15 * EPS, is small (axis 1).
3: Nonfinite axis limits
2003 Nov 07
0
error message using ARM cpu with Debian
I post this message on R-help mailing list but someone emailed me that I can get helped if I post this one on R-devel mailing list.
I have a small handheld pc having ARM process as a CPU. I installed
debian and installed R (R-1.7.0 base and core, help html, latex-help) using apt-get command. Everything worked great
except for drawing even simple graphs
x <- 1:10
plot(x)
I got error
2023 Aug 06
2
hist(..., log="y")
Sorry if this topic has been discussed earlier.
Currently, hist(..., log="y") fails with
> hist(rexp(1000, 1), log="y")
Warning messages:
1: In plot.window(xlim, ylim, "", ...) :
nonfinite axis=2 limits [GScale(-inf,2.59218,..); log=TRUE] -- corrected
now
2: In title(main = main, sub = sub, xlab = xlab, ylab = ylab, ...) :
"log" is not a graphical
2023 Aug 06
1
hist(..., log="y")
hist() is designed so that the total area sums to 1. You should build you desired behavior using a barchart.
?
David
Sent from my iPhone
> On Aug 5, 2023, at 11:50 PM, Ott Toomet <otoomet at gmail.com> wrote:
>
> ?Sorry if this topic has been discussed earlier.
>
> Currently, hist(..., log="y") fails with
>
>> hist(rexp(1000, 1), log="y")
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 May 01
3
Resize Graphics Window
Need way to resize an existing graphics window.
This should be applicable across platforms (as part of a package).
Context: function1() draws main plot (I'm using grid), function2() adds smaller plot
above main plot, but this one can sometimes overflow the original graphics window
area.
Thanks,
Sigal
2001 Sep 21
0
R 1.3.1 fails 'make check' on arm in the Bessel example (PR#1097)
Debian tries to build its packages on a variety of platforms. The arm
platform compiled 0.90.1 (the last Debian release before the Debian package
required an Atlas library, something we no longer require) failed in 'make
check'. The log snippet follows; I traced this to the example(Bessel) code.
> matplot(nu, t(outer(xx,nu, besselI)), type = 'l', ylim = c(-50,200),
+
2009 Jul 17
2
log error for use on axis
Hi,
I am new to R plot. I am trying to scale my y axis in log. When I
do this I receive the following error
Error in axis(side = side, at = at, labels = labels, ...) :
CreateAtVector [log-axis()]: axp[0] = 0 < 0!
In addition: Warning messages:
1: In plot.window(...) :
nonfinite axis limits [GScale(-inf,1.31772,2, .); log=1]
2: In axis(side = side, at = at, labels = labels, ...) :
2010 Jul 19
2
problems with plot()
I have a list of vectors of length 2, each representing a point in 2-space,
and each of which I wish to plot on the current plot.
In a loop, I assign the x and y coordinates of the current element of the
list to variables 'x' and 'y' respectively, then make a call to plot as
follows:
par(new = TRUE)
plot(x,y, xlim = c(0,1),ylim=c(0,1), xlab <- "x", ylab <-
2006 Mar 17
1
Adding axis limit to log-log plot
Dear All,
I've tried to add axis limit ( e.g. ylim=c(0,50)) to the log-log plot, but it turn out to be error (see below). Any solution is much appreciated.
> plot(maxsd$tph,maxsd$qdbh,log="xy",xlab="Stand density(trees per ha)",ylab="Quadratic mean dbh (cm)",ylim=c(0,50))
Error in plot.window(xlim, ylim, log, asp, ...) :
Infinite axis extents
2009 Nov 18
2
error message; ylim + log="y"
Hi,
I get a lot of error messages with this command, but I don't understand why;
plot(c(),c(), xlim=c(1,10), ylim=c(0,10000), log="y")
thanks for any help!
[[alternative HTML version deleted]]