Split a data set and run function

Share:

Description

Split a data set and run function

Usage

1
divide.conquer(func = NULL, data, size, ...)

Arguments

func

called function

data

data-frame

size

size of splits

...

Additional arguments to lower level functions

Author(s)

Thomas Scheike, Klaus K. Holst

Examples

1
2
3
4
library(timereg)
data(TRACE)
res <- divide.conquer(prop.odds,TRACE,
	     formula=Event(time,status==9)~chf+vf+age,n.sim=0,size=200)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.