Re: [R] S4 Class to Array

2015-12-16 Thread David Winsemius
> On Dec 16, 2015, at 7:45 AM, Glenn Schultz wrote: > > Hello All, > > I would like to be able to convert and S4 class to an array but I seem to be > stuck. Reading the documentation I think I need to use setAs() and then as() > Below is a minimal example but I cannot get it to work. So I a

[R] S4 Class to Array

2015-12-16 Thread Glenn Schultz
Hello All, I would like to be able to convert and S4 class to an array but I seem to be stuck.  Reading the documentation I think I need to use setAs() and then as()  Below is a minimal example but I cannot get it to work.  So I am doing something wrong but I don't know what it is. Any insight