Skip to content
Prev 334651 / 398506 Next

A function which is a sum of other functions...

On Dec 19, 2013, at 11:05 AM, Onur Uncu wrote:

            
f1(x)+f2(x)+f3(x)+f4(x)+f5(x)}
[1] 10
[1] 15.38906
[1] 14.0822

Since "+" is vectorized this should not need to be wrapped in sapply as long as each function is itself vectorized.


David Winsemius
Alameda, CA, USA