Re: [R] Extract information from S4 object

2010-02-22 Thread Martin Morgan
On 02/22/2010 08:46 AM, Jay wrote: > Tahnk you. But, when I try the command you both suggested I get a NULL > as the results. > >> names(object1 @ x.values) > NULL > > Where did I go wrong? > > > On Feb 22, 4:34 pm, David Winsemius wrote: >> On Feb 22, 2010, at 8:05 AM, Jay wrote: >> >> >> >>>

Re: [R] Extract information from S4 object

2010-02-22 Thread Jay
Tahnk you. But, when I try the command you both suggested I get a NULL as the results. > names(object1 @ x.values) NULL Where did I go wrong? On Feb 22, 4:34 pm, David Winsemius wrote: > On Feb 22, 2010, at 8:05 AM, Jay wrote: > > > > > The function prediction() returns this: > > > Formal clas

Re: [R] Extract information from S4 object

2010-02-22 Thread David Winsemius
On Feb 22, 2010, at 8:05 AM, Jay wrote: The function prediction() returns this: Formal class 'performance' [package "ROCR"] with 6 slots ..@ x.name : chr "Cutoff" ..@ y.name : chr "Accuracy" ..@ alpha.name : chr "none" ..@ x.values:List of 1 .. ..$ : Named num [1:89933] Inf

Re: [R] Extract information from S4 object

2010-02-22 Thread Henrique Dallazuanna
Try this: names(o...@x.values) On Mon, Feb 22, 2010 at 11:05 AM, Jay wrote: > The function prediction() returns this: > > Formal class 'performance' [package "ROCR"] with 6 slots >  ..@ x.name      : chr "Cutoff" >  ..@ y.name      : chr "Accuracy" >  ..@ alpha.name  : chr "none" >  ..@ x.value

[R] Extract information from S4 object

2010-02-22 Thread Jay
The function prediction() returns this: Formal class 'performance' [package "ROCR"] with 6 slots ..@ x.name : chr "Cutoff" ..@ y.name : chr "Accuracy" ..@ alpha.name : chr "none" ..@ x.values:List of 1 .. ..$ : Named num [1:89933] Inf 2.23 2.22 2.17 2.16 ... .. .. ..- at