[R] how to get or store the intermediate v?lues while running a function
vincent at 7d4.com
Tue Dec 6 11:09:36 CET 2005
shanmuha boopathy a écrit :
> in this example the function will return only the value of "m"
> ...But I like to extract the values of "l" & "k" also.........
> which command to use for storing or for extracting those intermediate value.......
may I suggest, inside your function
res = c(k, l, m);
# also ... read some intro docs !
More information about the R-help