> peter dalgaard
> on Fri, 25 Mar 2016 09:41:00 +0100 writes:
> As I see it, the display showing the first p << n PCs
> adding up to 100% of the variance is plainly wrong. I
> suspect it comes about via a mental short-circuit: If we
> try to control p using a toleranc
Dunno, really. Some strange things can happen with nonstandard evaluation, like
having a function designed to evaluate something in the parent of its caller,
but nonetheless sometimes being called from the command line. So things are
sometimes defensively coded.
-pd
> On 28 Mar 2016, at 00:08
Dear R-dev list,
I wonder if stats::integrate shouldn't warn the user when a numeric vector
of length > 1 is passed as lower or upper bounds. If a vector is passed,
only the first value is used and the others are silently ignored:
integrate(sin, lower=0, upper=pi)
integrate(sin, lower=0:10, upper