Skip to content
Prev 219071 / 398500 Next

apply fun to df returning a matrix

Hi Mohamed, thanks for your answer. Anyway, the "how to" is exactly my  
problem, since ...

fun2 <- function(x){
    
please_use_aggregate_and_apply_in_some_way_and_return_the_output_of_my_example_as_requested 
(fun(x));
}
fun2(df);

... unfortunately returns an error ;-). Could you please give a simple  
example? Thanks, S?ren
On 30.04.2010, at 12:59, Mohamed Lajnef wrote: