Also there is
@ARTICLE{JCGS18-0021,
author = {Denby, L. and Mallows, C.},
year = {2009},
title = {Variations on the histogram},
journal = {Journal of Computational and Graphical Statistics},
volume = {18},
number = {1},
pages = {21--31},
doi = {10.1198/jcgs.2009.0002},
abstract
Did you ask for assistance on R-Sig-Debian? you will need to be more explicit
than below about what you actually did. FWIW I was able to do it [1]... you
might have encountered a temporary network problem.
[1] https://cran.r-project.org/bin/linux/ubuntu/README.html
On July 14, 2019 4:55:25 PM C
Four-core AMD E2-7110 running Ubuntu 18.04 LTS.
The R version is the latest in the repository:
r-base/bionic,bionic,now 3.4.4-1ubuntu1 all [installed]
Why not 3.6? Because when i followed the installation instructions, adding
deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/
to /e
One common gotcha is that ifelse() has no way to reconcile attributes between
the two alternatives so it takes the attributes for the result from those of
the condition, which is almost certainly what you don't want. In particular,
this may convert factors to their underlying integer codes.
An
Er, what version is this? I have (on a late 2010 MB Air!)
> system.time(ifelse(x < y, x, y))
user system elapsed
0.072 0.012 0.085
and even
> system.time({r<-numeric(100);ix <- x < y; r[ix]<-x[ix]; r[!ix]<-y[!ix];
> r})
user system elapsed
0.082 0.053 0.135
-pd
>
5 matches
Mail list logo