search for: adataset

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

Did you mean: dataset
2014 May 28
1
Ellipsis to Two Functions When One Has Nested Functions
Hello If I have a function aFunction <- function(data, alpha, ...) { transform(alpha, ...) rowMeans(data) > alpha } f <- function(data, selection, ...) { selected <- selection(data, ...) plot(data[selected, ], ...) } f(aDataset, aFunction, alpha = 10, pch = 19, transform = sqrt) and selection calls another function, which has ... and that function calls other functions, is there an easier way than getting the formals of all the functions called internally by selection, and all of the formals of functions called by plot ?...