Skip to content
Prev 226920 / 398500 Next

accessing return variables from a function

which is just
unlist(sort(x, index.return=T))

but I think, Noah would like to have something like
srt<-sort(x, index.return=T)
names(srt)<-c("y","indexes")
attach(srt)

but that is wasteful either.


Am 09.07.2010 12:28, schrieb David Winsemius: