Skip to content
Prev 269925 / 398502 Next

How to vectorize a function to handle two vectors

On Aug 26, 2011, at 4:52 PM, Newbie wrote:

            
What about this:

 > mapply(Price_call, kV, tV, MoreArgs=list(phi=phiHeston(subHeston)))
[1]  0.000000001877372 -0.000000632320728  0.000000626031829
[4]  0.000000058381615
David Winsemius, MD
West Hartford, CT