Skip to content
Prev 286618 / 398502 Next

Error message: object of type 'closure' is not subsettable

Hi Aparna,

Can you please post a reproducible example?  It is difficult to
provide much concrete help without having "testStatistics".  One thing
you might try is looking at:

str(testStatistics["numerator",])

is it actually a list?  If it is not (most likely given the error) and
it is supposed to be, you need to figure out what aspect of the
generation of it is going awry.

Cheers,

Josh

On Tue, Feb 28, 2012 at 12:23 AM, Aparna Sampath
<aparna.sampath26 at gmail.com> wrote: