Displaying 2 results from an estimated 2 matches for "nicebay".
Did you mean:
niceboy
2024 Apr 19
2
passing a modified argument to an S3 method
Is there a way to pass a modified argument from an S3 generic to a method? Here's a non-working example that I want to return "abcd".
test <- function(x, y = NULL){
y <- "abcd"
UseMethod("test")
}
test.default <- function(x, y = NULL) y
test(x = 3)
Is that possible? I've looked around a lot, but can't find any examples or
2019 Sep 11
1
[ALTREP] What is the meaning of the return value of Is_sorted and No_NA function?
Hi Gabriel,
Thanks for your answer and future update plan. Somehow this email has been
delayed for a week, so there might be a wired reply from me saying that I
have found the answer from the R source code, it was sent from me last
week. Hopefully, this reply will not cost another week to post:)
As a side note, I like the idea that defining a macro for sortedness, and I
can see why we can only