powered by
Split a data set and run function
divide.conquer(func = NULL, data, size, splits, id = NULL, ...)
called function
data-frame
size of splits
number of splits (ignored if size is given)
optional cluster variable
Additional arguments to lower level functions
Thomas Scheike, Klaus K. Holst
## avoid dependency on timereg ## library(timereg) ## data(TRACE) ## res <- divide.conquer(prop.odds,TRACE, ## formula=Event(time,status==9)~chf+vf+age,n.sim=0,size=200)
Run the code above in your browser using DataLab