search for: extracted_head

Displaying 2 results from an estimated 2 matches for "extracted_head".

2020 Feb 24
1
specials issue, a heads up
In the long run, coming up with a way to parse specials in formulas that is both clean and robust is a good idea - annoying users are a little bit like CRAN maintainers in this respect. I think I would probably do this by testing identical(eval(extracted_head), survival::Surv) - but this has lots of potential annoyances (what if extracted_head is a symbol that can't be found in any attached environment? Do we have to start with if (length(find(deparse(extracted_head))>0) ? In the short run, a clear note in the documentation seems entirely suffi...
2020 Feb 24
6
specials issue, a heads up
I recently had a long argument wrt the survival package, namely that the following code didn't do what they expected, and so they reported it as a bug ? survival::coxph( survival::Surv(time, status) ~ age + sex + survival::strata(inst), data=lung) a. The Google R style guide? recommends that one put :: everywhere b. This breaks the recognition of cluster as a "special" in the