divide.conquer: Split a data set and run function

Description Usage Arguments Author(s) Examples

Description

Split a data set and run function

Usage

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

Arguments

func

called function

data

data-frame

size

size of splits

splits

number of splits (ignored if size is given)

id

optional cluster variable

...

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)


Search within the mets package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.