search for: tp3056256p3056301

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

2010 Nov 23
3
how to update my own function
Hello all, I wrote a function with many arguments. Then I need to call it many times with changes on some arguments only. Is there any way to write a function or have a method to "update" it, like the relationship between lm() and update()? Many thanks, Edwin Sun ------------ This is the sample code. > test <- function(y, z) { + x <- y +1 + w <- z * 2 + result