Re: [R] Simple Slots Question

2010-04-26 Thread Henrique Dallazuanna
Try this: testResult$serial$p.value On Mon, Apr 26, 2010 at 11:17 AM, Andrew Hill wrote: > Question: How do I isolate the p-value from the serial.test function > (portmanteau test)? > > Details: I tried the following set of commands > > testResult <- serial.test(vec2varModelFit) > > thePValue

[R] Simple Slots Question

2010-04-26 Thread Andrew Hill
Question: How do I isolate the p-value from the serial.test function (portmanteau test)? Details: I tried the following set of commands > testResult <- serial.test(vec2varModelFit) > thePValue <- testResult$p.value When i type 1) thePValue I get: "NULL" 2) testResult I get "Portmantea