search for: getprofit

Displaying 1 result from an estimated 1 matches for "getprofit".

Did you mean: getprofile
2006 Jun 20
1
weird application of apply again
...y. i hate to constantly bother this group but it takes me time to get familar with all of these functions, tricks and and manipulations. i appreciate everyone's patience. i used too splus a lot but i've gotten rusty. i have a matrix of say 200 rows and 600 columns. i have a function "getprofit" that takes two series and returns a number. getprofit<-function(series1, series2) { do some stufff return(somenumber) is there a way to do something clever so that i call the function, getprofit, on the first two columns of the matrix ( where the first column is series1 and the second...