Displaying 20 results from an estimated 20000 matches similar to: "do.call() mangles expressions in arguments (PR#174)"
2010 Nov 02
2
on the usage of do.call
Hello all,
I don't know if it is possible, but I would like to use do.call in C code in
my package. The function do.call is defined as
> do.call
function (what, args, quote = FALSE, envir = parent.frame())
{
if (!is.list(args))
stop("second argument must be a list")
if (quote) {
enquote <- function(x) as.call(list(as.name("quote"),
2020 Mar 27
2
Expressions from boxplot() passed to bxp()
Hi,
Is this expected behavior (R-3.6.0)?
dat <- cbind(x = 1:10, y = 10:1)
ylab <- substitute(X[t], list(t = 2))
plot(dat, ylab = ylab) # works (correctly displays ylab)
boxplot(dat, ylab = ylab) # fails
boxplot(dat, ylab = as.expression(ylab)) # works
Thanks & cheers,
M
2004 Apr 28
1
boxplot graphical arguments (PR#6832)
Dear r-bugs,
I'd like to be able to draw boxplots with solid or dotted whisker lines.
The lty argument is currently ignored by boxplot(), and indeed hardwired
in bxp().
It's not very difficult to customize these functions to generate various
types of boxplots, but generally it might be an idea to allow the user to
pass a few more graphical arguments to boxplot(). The approach might as
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
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")
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
2002 Jul 03
2
grouping in scatterplot3d
Hi all,
I've been using the scatterplot3d function (from the scatterplot3d library) to create 3D plots. I was wondering whether there is
anyway to group the points according to a particular group variable. For example I used the plot function as
plot( factor( <GROUPINGVAR> ) , <PLOTVARS> )
to organise the results in a according to the grouping variable. I was wondering
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.
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
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]]
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
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
2010 Dec 17
3
box-and-whisker plots based on summary not data
Hi,
Is it possible to produce box-and-whisker plots given that I have the
median, interquartile and 5/95th centile values, but not the data from
which they come? It seems that it ought to be possible to coerce bxp
to do what I want, but I can't quite see how.
Thanks,
Matthew
--
Matthew Vernon, Research Fellow
Ecology and Epidemiology Group,
University of Warwick
1999 Jul 06
2
eval(), expression()
Dear R-Users!
My aim is to produce boxplots without the outliers included in the
plot. I started to write a function that looks something like:
myboxplot <-function(x,fa) {
bpdata <- boxplot(x~fa,plot=FALSE)
bpnames <- names(bpdata)
for (JJ in bpnames) {
command <- paste("bpdata$",JJ,"$out <- numeric(0)",sep="");
eval(command)
}
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,
2012 Sep 08
4
method or package to make special boxplot
Hi, All,
I am trying to use R to make the following type of boxplot while I couldn't
find a way to do it.
My dataset looks like X1 Y1 X2 Y2.... SPLIT. The split highlights my
experiment details and both x and y are continuous numerical values. I
need to plot y vs. x with split as legend and boxplot has to be used for
all splits. May I ask how to get it? Currently available boxplot only
2005 Apr 20
2
Label / Tick under single Boxplot
Hi!
I am trying to get the tick / label under a stacked
boxplot with only a single
data row. With >=2 rows it works, but with a single
one the tick resp. my class
name is not printed below the boxplot. Can anybody
point me to what am I doing
wrong?
For example:
boxplot(data.frame(c(3,4,5)),names=list("a"),beside=F)
Here, I would like to have the "a" below the single
2001 May 26
1
boxplots
Was there ever a convenient method provided to add boxplots to the current
plot at specified x values? There was a question by Martin Maechler some
time ago here, but I could seem to find any satisfactory resolution of it.
I see that there is an add=T option to boxplot and bxp, but I don't see
how to set the x-values.
url: http://www.econ.uiuc.edu Roger Koenker
email roger at
2002 Dec 01
2
Quasi-bug in boxplot().
There seems to be a problem with partial matching of argument names
in boxplot(), in respect of the "horizontal" argument. I don't
recall seeing this issue discussed previously. My apologies if I am
being redundant. (A scan of CRAN revealed that someone had
experienced problems with the "horizontal" argument, but he was
spelling it out in full, so that was a different