search for: completeob

Displaying 1 result from an estimated 1 matches for "completeob".

Did you mean: completeobs
2011 Aug 09
2
S4 classes, some help with the basics
...t this is the question... what grammar could I use? } ################ I would like to be able to print out the summary for each of the components of the class "pcaRes" without knowing a priori the names of those components. I could, for example in the above case, type in summary(myPCA@completeObs) to get a summary of the input matrix. But I HAVE TO TYPE "@completeObs". In the non-S4 world, I could type myPCA[[i]] for lists, where "i" could be looping through either the list names, or the list indices. Similarly, I could type myPCA[i] for arrays, where "i" a...