[R] Help me get this function to work...

Bert Gunter gunter.berton at gene.com
Mon Jul 13 21:56:27 CEST 2009


How important it is to wrap the list in a return statement, ala

return(list(ShrubCover.df, TreeCover.df, TotalCover.df))

or

answer <- list(ShrubCover.df, TreeCover.df, TotalCover.df)
return(answer)
---

Completely Un.

Consult the R Docs, especially the R Language Definition manual, for answers
to this and your other numerous basic questions. That's what they're there
for.

-- Bert Gunter
Genentech, Inc.




More information about the R-help mailing list