divide.conquer: Split a data set and run function

View source: R/divide.conquer.R

divide.conquerR Documentation

Split a data set and run function

Description

Split a data set and run function

Usage

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

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

mets documentation built on Oct. 2, 2022, 5:06 p.m.