Re: [R] problems with setClass or/and setMethod

2013-06-10 Thread David Winsemius
On Jun 9, 2013, at 11:37 PM, andreas betz wrote: > Hello, > > I am working my way through "A (not so) Short introduction to S4" > > I created a class > > setClass(Class = "Trajectories", > representation = representation(times = "numeric",traj = "matrix")) > > and tried to build a met

[R] problems with setClass or/and setMethod

2013-06-10 Thread andreas betz
Hello, I am working my way through "A (not so) Short introduction to S4" I created a class setClass(Class = "Trajectories", representation = representation(times = "numeric",traj = "matrix")) and tried to build a method using setMethod( f = "plot", signature = "Tra