[R] return(x=x,y=y,prob=prob) hasn't been used in R now?

Christian Ritz ritz at life.ku.dk
Sun Sep 23 11:27:52 CEST 2007


Hi!

Use a list structure for all the components you want to have returned 
by the function:


return(list(x=x, y=y, prob=prob))



Christian



More information about the R-help mailing list