Skip to content
Prev 190021 / 398500 Next

Coding problem: How can I extract substring of function callwithin the function

Hi Joel,
On Aug 13, 2009, at 6:10 PM, Pitt, Joel wrote:

            
I agree: it's certainly not useless to calc the mean of a series of  
numbers while ignoring NA's.
Looks nice.
I didn't think you were pursuing this to improve your programming  
proficiency from the outset, I just wanted to point out that you found  
a situation which you wanted to work around for (i) your precise use  
case. But it was because you were trying to solve (i) that you  
stumbled on (ii) and wanted to just know how one might do this for  
curiosity's sake and increase your proficiency (perhaps for some other  
use case in the future).

It was simply for reason (ii) that prompted me to say something only  
because you might not have seen your approach as potentially  
handicapping your students' (maybe subconcious(?)) pursuit of  
proficiency. I just wanted to point out that this is what you *might*  
be doing in the short term. Then again, it might not be.

Everyone has their own style of teaching, and it's your prerogative to  
do it as you see fit. I wouldn't presume to know which way is best, so  
good luck with the upcoming semester :-)

-steve

--
Steve Lianoglou
Graduate Student: Computational Systems Biology
  | Memorial Sloan-Kettering Cancer Center
  | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact