Re: [R] attempt at making a polygon class failed

2007-08-29 Thread Uwe Ligges
Leeds, Mark (IED) wrote: I was reading a presentation of Professor Peng's and typed the presentation code into R but I changed it to make plot.polygon a separate function instread of defining the function in SetMethod itself as he did. Is that the problem with the code below because

[R] attempt at making a polygon class failed

2007-08-28 Thread Leeds, Mark \(IED\)
I was reading a presentation of Professor Peng's and typed the presentation code into R but I changed it to make plot.polygon a separate function instread of defining the function in SetMethod itself as he did. Is that the problem with the code below because plot(p) just gives me zero. Thanks.