search for: your_const

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

2010 Apr 27
2
Passing values to a function when using apply
Hi All Slightly lost on how should I pass values to a function I am calling using apply. apply( veh_drg_animal1[ , c("readCount","gene_length")] ,1, stats() ) here stats is a custom function where I want to pass two parameters from data frame as shown and a third argument which is constant per instance of apply. stats <- function ( arg1,agr2,agr3) { ## computation