Displaying 20 results from an estimated 10000 matches similar to: "Expressions from boxplot() passed to bxp()"
2020 Mar 27
0
Expressions from boxplot() passed to bxp()
It's not new anyway. You see the same behaviour with
boxplot(dat, ylab=quote(X[2]))
and it boils down to the use of do.call("bxp", ...) in the internals.
As a general matter, expression() exists to prevent this sort of confusion, e.g., in this construction,
> X <- quote(Y+1); bquote(f(.(X)))
f(Y + 1)
is indistinguishable from just entering f(Y+1), so f has no way of
2015 Feb 03
2
Seed in 'parallel' vignette
Hi,
This is most likely only a minor technicality, but I saw the
following: On page 6 of the 'parallel' vignette
(http://stat.ethz.ch/R-manual/R-devel/library/parallel/doc/parallel.pdf),
the random-number generator "L'Ecuyer-CMRG" is said to have seed
"(x_n, x_{n-1}, x_{n-2}, y_n, y_{n-1}, y_{n-2})". However, in L'Ecuyer
et al. (2002), the seed is given with
2016 May 05
4
R process killed when allocating too large matrix (Mac OS X)
Hi Simon,
thanks for your quick reply.
1) ... so you can reproduce this?
2) Do you know a way how this can be 'foreseen'? We allocate larger
matrices in the copula package depending on the user's input
dimension. It would be good to tell her/him "Your dimension is quite
large. Be aware of killers in your neighborhood"... before the killer
attacks.
Thanks & cheers,
2007 Jun 26
4
boxplot and bxp do not respect xlim by default (PR#9754)
Full_Name: Steve Ellison
Version: 2.4.1
OS: Windows, Linux
Submission from: (NULL) (194.73.101.157)
bxp() allows specifcation of box locations with at=, but neither adjusts xlim=
to fit at nor does it respect xlim provided explicitly.
This is because bxp() now includes explicit xlim as c(0.5, n+0.5), without
checking for explicitly supplied xlim (or ylim if horizontal).
This also prevents
2014 Aug 22
3
parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command
Hi,
Both under the current R-devel (r66456) and a version from about 3
months ago, I experience the following behavior:
> parallel::detectCores(TRUE)
Error in system(cmd, TRUE) : error in running command
> traceback()
3: system(cmd, TRUE)
2: gsub("^ +", "", system(cmd, TRUE)[1])
1: parallel::detectCores(TRUE)
>
This is on Ubuntu 14.04. Does anybody else see this? [I
2011 Jun 02
2
plotmath: paste string and expression [from a vector of expressions]
Dear all,
I have a vector of expressions and would like to "paste" some string to it before using it in a plot:
vars <- vector("expression", 2)
vars[1] <- expression(alpha)
vars[2] <- expression(beta)
plot(0, 0, main=substitute(bold("Foo" ~~ VAR), list(VAR=vars[2]) ))
Although I tried hard, I just can't figure out how to solve this. The title should be
2016 May 05
1
R process killed when allocating too large matrix (Mac OS X)
Hi,
Interesting "feature" in 10.11.4. I wonder if the process is killed
before or after malloc() returns. If before, it seems very blunt:
"You're asking too much and I don't like it so I kill you now".
If after it doesn't look much better: "You're asking a lot and I
don't like it but I give it to you anyway. I'll kill you quickly
later".
Why
2001 Dec 09
2
bug?/lack of feature in bxp (PR#1200)
Full_Name: Christian Ritter
Version: 1.3.1
OS: win/nt
Submission from: (NULL) (130.104.139.32)
not a bug but lack of feature:
outlier symbol can't be changed in bxp
in bxp:
...
points(rep(x, length(out)), out, col = border)
...
as you can see, no pty or pch argument is used.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list
2016 May 04
1
R process killed when allocating too large matrix (Mac OS X)
Dear expeRts,
The following code leads to R being killed (under Mac OS X 10.11.4; R
installed from source; also happened under a previous unstable
version):
m <- matrix(0, 100000, 100000)
I expected an error that a vector of this size could not be allocated.
Besides the above (a bug?), how can I find out beforehand whether or
not a square matrix can be allocated?
Cheers,
Marius
PS: Here
2012 Sep 29
3
Removing lower whisker in boxplot to see the effects of the high values
Good Afternoon-
I was wanting to alter the boxplot to remove the lower whisker, both the
whisker line and staple just on the lower end. Is there a way to do this?
As my code is currently:
boxplot(log_loads~ind,data=nfmaum, horizontal=TRUE, notch=T, outline=FALSE,
whisker=0, main="Maumee River Near Future Climate Scenarios", ylab="Log
Load",xlab="Climate Scenarios")
2009 Aug 19
2
mild and extreme outliers in boxplot
dear all,
could somebody tell me how I can plot mild outliers as a circle(?) and
extreme outliers as an asterisk(*) in a box-whisker plot?
Thanks very much in advance
--
View this message in context: http://www.nabble.com/mild-and-extreme-outliers-in-boxplot-tp25040545p25040545.html
Sent from the R help mailing list archive at Nabble.com.
2016 May 04
1
R process killed when allocating too large matrix (Mac OS X)
> Can you elaborate on "leads to R being killed"? You should tell to the killer not to do it again :).
Hi Simon!
Sure, but who do you tell it if you don't know the killer?
This is all the killer left me with, the 'crime scene' if you like :-)
> m <- matrix(0, 90000, 100000)
Killed: 9
My colleague Wayne Oldford also tried it on his Mac machine and
apparently the
2018 Apr 25
1
extendrange(): suggested improvement
Hi,
I often need to extend the plot range to the right, but not to the
left (for example: not below 0 so that log = "x" still works...). This
could be a handy improvement of extendrange():
--- utils.R 2015-08-25 18:18:20.000000000 -0400
+++ utils.R 2018-04-25 17:21:25.000000000 -0400
@@ -30,6 +30,6 @@
## Purpose: extend a range by a factor 'f' - on each side
2006 Mar 16
2
french secondary boxplot
bonjour,
i'm a mathematic teacher and i have a question for R-developers :
is it possible to have (in the future) a boxplot with whiskers from
the first decile to the ninth decile, as usual in secondary french
schools... by example : boxplot(serie,range=-1) for french boxplot ?
cordialement,
jean-pierre
lyc?e jean zay
orl?ans, france
http://mathazay.free.fr/spip/
2007 Mar 27
2
line style outliers in boxplot
Dear Users
Is there any way to generate lines instead of points for outliers in the boxplot
function?
Thanks
AA.
[[alternative HTML version deleted]]
2010 Sep 06
5
boxplot knowing Q1, Q3, median, upper and lower whisker value
Dear list,
I am using a external program that outputs Q1, Q3, median, upper and lower whisker values for various datasets simultaneously in a tab delimited format. After importing this text file into R, I would like to plot a boxplot using these given values and not the original series of data points, i.e. not using something like boxplot(mydata).
Is there an easy way for doing this? If I am not
2007 Oct 15
4
boxplot() confuses x- and y-axes (PR#10345)
Full_Name: Bob O'Hara
Version: 2.6.0
OS: Windows XP
Submission from: (NULL) (88.112.20.250)
Using horizontal=TRUE with boxplot() confuses it as to what is an x- or y-axis.
At least, xlim= and ylim= are the wrong way round, log="x" (or "y") and xaxt=
work as expected, I haven't looked at anything else.
Some code to see if you can reproduce the bug (or discover
2001 Jul 27
2
boxplot question
I'm graphing a series of boxplots of grouped data inside a function that
passes the data.frame, the names vector, and a title vector.
Because both the data subset changes with each successive pass through the
function, occasionally the names vector turns up with only one group to
plot. This is an expected result. However, when the names argument in
boxplot has only a single name, it
2000 Dec 10
1
more boxplot questions
Hello,
I have a couple more questions about boxplots. In the books I've read on
statistics (I'm not a statistics expert but just a poor engineer trying
to help his wife with the analysis of the data she gathered for her
medieval history PhD), I seen two kinds of box plots: one using
quartiles to determine the height of the rectangles and whiskers which
is what the standard R boxplot does,
2011 Jun 02
2
lattice + plotmath: how to get a variable in bold face?
Dear all,
How can I get a bold "1000" in the title? I would like to use a variable (as opposed to putting in "1000" directly).
library(lattice)
N <- 1000
xyplot(0~0, xlab.top=list(label=as.expression(bquote(bold("foo" ~ .(N) ~ "bar"))), font=2, cex=1.2))
## => "font=2" is ignored (of course)
Cheers,
Marius