On 01/01/2013 22:21, Duncan Murdoch wrote:
On 13-01-01 4:35 PM, Jeff Ryan wrote:
Happy 2013!
Can someone with more knowledge of edge case scoping/eval rules explain
what is happening below? Happens in all the versions of R I have on
hand.
Even though it is used as a default in a number of pl
It's not desperately important, but it would seem more consistent to
me if sQuote(character(0)) or sQuote(NULL) returned character(0) rather
than "‘’" . This could easily be achieved by putting
if (length(x)==0) return(character(0))
at the beginning ...
Ben Bolker
On Thu, Dec 6, 2012 at 12:58 PM, Paul Johnson wrote:
> Dear R-devel:
>
> I could use some advice about matrix calculations and steps that might
> make for faster computation of generalized inverses. It appears in
> some projects there is a bottleneck at the use of svd in calculation
> of generali
I agree that it's cleaner to remove the extra attributes -- that's the
point of as.matrix.Surv(), to produce a matrix that doesn't include any
extra details of how Surv objects are implemented.
-thomas
On Fri, Dec 7, 2012 at 3:48 AM, Terry Therneau wrote:
> 1. A Surv object is a matrix with
Thanks Duncan.
I was hoping that pos= would be more useful, but envir is a bit easier to
grasp in terms of consistency.
The lazy eval was also pointed out to me off-list as a source of the
'weirdness' if you will, which makes perfect sense in retrospect.
Thanks for the prompt clarification, and
On 13-01-01 4:35 PM, Jeff Ryan wrote:
Happy 2013!
Can someone with more knowledge of edge case scoping/eval rules explain
what is happening below? Happens in all the versions of R I have on hand.
Even though it is used as a default in a number of places, the pos==-1
value is really poorly do
Happy 2013!
Can someone with more knowledge of edge case scoping/eval rules explain
what is happening below? Happens in all the versions of R I have on hand.
Behavior itself is confusing, but ?as.environment also provides no clue.
The term used in that doc is 'search list', which is ambiguous,