[R] Adding objects to a list

mdvaan mathijsdevaan at gmail.com
Mon Jun 20 11:00:14 CEST 2011


#Hi list,

#From the code below I get two list objects (n$values and n$vectors):
dat <- matrix(1:9,3)
n<-eigen(dat)
n

# How do I add another object to n that replicates n$vectors and is called
n$vectors$test?
# Thanks a lot!





--
View this message in context: http://r.789695.n4.nabble.com/Adding-objects-to-a-list-tp3610821p3610821.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list