CoxMaster
master objectsCoxWorker.Rd
CoxWorker
objects are worker objects at each data site of
a distributed Cox model computation
CoxMaster
which goes hand-in-hand with this object
new()
Create a new CoxWorker
object.
CoxWorker$new(defn, data, stateful = TRUE)
defn
the computation definition
data
the local data
stateful
a boolean flag indicating if state needs to be preserved between REST calls
a new CoxWorker
object
getP()
Return the dimension of the parameter vector.
CoxWorker$getP(...)
...
other args ignored
the dimension of the parameter vector
getStateful()
Return the stateful status of the object.
CoxWorker$getStateful()
the stateful flag, TRUE
or FALSE
logLik()
Return the partial log likelihood on local data for given beta
parameter.
CoxWorker$logLik(beta, ...)
beta
the parameter vector
...
further arguments, currently unused
a named list with three components: value
contains the value of the
log likelihood, gradient
contains the score vector, and hessian
contains
the estimated hessian matrix
var()
Return the variance of estimate for given beta
parameter on local data.
CoxWorker$var(beta, ...)
beta
the parameter vector
...
further arguments, currently unused
variance vector
kosher()
Check if inputs and state of object are sane. For future use
CoxWorker$kosher()
TRUE
or FALSE
clone()
The objects of this class are cloneable with this method.
CoxWorker$clone(deep = FALSE)
deep
Whether to make a deep clone.