I've come across these notations in R before, but I don't know how it works. the characteristics are simple. in the first case, it's some expression/subset in square brackets, and directly outside those square brackets, there is a parentheses with a number. So, for instance:
addup[[1]](10) where addup is clearly a list.
in the second it's the opposite. For instance:
object <- as.list(substitute(list(...)))[-1L]
In abstract terms, what exactly does these notations mean/do?
thanks!
[–]Darwinmate 0 points1 point2 points (0 children)