Skip to content
Prev 293332 / 398502 Next

How can a function in R handle different types of input?

Hello,


stella wrote
It's close to what you were doing, just try

apply(x, 1, fit, time)

Hope this helps,

Rui Barradas


--
View this message in context: http://r.789695.n4.nabble.com/How-can-a-function-in-R-handle-different-types-of-input-tp4603263p4603754.html
Sent from the R help mailing list archive at Nabble.com.