search for: redefinet

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

Did you mean: redefine
2007 Dec 07
1
Internal functions
I've complex problem and this's idealization of it: v=1:10 fx<-function(x){ v[x]=v[x]*2} fy<-function(y){ fx(y)} for(i in 1:10){ fy(i)} How to modife expresion (and only that): {v[x]=v[x]^2} to achive the redefinetion of the values of vector v, the result should be: v=(1:10)*2. I think, that could be done with using of internal functions, but I'm not the programmer. Thanks for help pg ---------------------------------------------------- P?yta CD i kartka pocztowa "Poczt?wka do ?w.Miko?aja 2007&quo...