Nevermind, indeed it is obvious: Vectorize !
Steve Jaffe wrote: > > I'm sure I'm missing something obvious but I'm not seeing how to simply > "vectorize" a function of two or more variables. > -- View this message in context: http://www.nabble.com/vectorizing-a-function-tp24380064p24380136.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.