Displaying 2 results from an estimated 2 matches for "neardata".
Did you mean:
3pardata
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
2020 Feb 24
0
specials issue, a heads up
...that generate an error if you call them. I did that in the much less
widely used "tables" package, e.g. Heading() has special interpretation,
and the Heading function is defined as
Heading <- function(name = NULL, override = TRUE,
character.only = FALSE,
nearData = TRUE)
stop("This is a pseudo-function, not meant to be called.")
However, survival has far more users than tables does, so changing the
name of your special functions or the corresponding regular functions
could be a huge headache.
Perhaps there's a way to set a flag before...