Skip to content
Prev 367166 / 398506 Next

Is a list an atomic object? (or is there an issue with the help page of ?tapply ?)

The problem with Bert's second example is that sum doesn't work on a list.
The tapply worked correctly.
[1] 1 2 3 4 5
Error in sum(l[1:5]) : invalid 'type' (list) of argument
On Tue, Feb 14, 2017 at 8:28 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote: