> On 9. Aug 2024, at 10:45, CALUM POLWART <polc1...@gmail.com> wrote: > > Or use <<- assignment I think. (I usually return, but return can only > return one object and I think you want two or more >
One can return multiple objects by putting them in a list and returning the list. Martin ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.