STpredictor_xvBLH
to predicted the survival times of the
subset of patients in the kth partitioning. It is not meant for use outside that function.weights_xvBLH(geDataS, survDataS, geDataT, survDataT, q = 1, s = 1, a = 2, b = 2, groups = 3, par, method = "BFGS", noprior = 1, extras = list())
STpredictor.xv.BLH
. It is a matrix with the co-variates in the columns and the
subjects in the rows. Each cell corresponds to that rowth subject's columnth co-variate's value.STpredictor_xvBLH
. It takes on the form of a data frame with at least have the
following columns STpredictor_xvBLH
.STpredictor_xvBLH
."Nelder-Mead":
for the Nelder-Mead simplex algorithm.
"L-BFGS-B"
for the L-BFGS-B quasi-Newtonian method.
"BFGS"
for the BFGS quasi-Newtonian method.
"CG"
for the Conjugate Gradient decent method.
"SANN":
for the simulated annealing algorithm.optim
function.STpredictor_BLH
data(Bergamaschi)
data(survData)
weights_xvBLH(geDataS=Bergamaschi[21:31, 1:2], survDataS=survData[21:31, 9:10],geDataT=Bergamaschi[1:20, 1:2],
survDataT=survData[1:20, 9:10], q = 1, s = 1, a = 2, b = 2, groups = 3, par = c(0.1, 0.1, 0.1,rep(0,2)),
method = "CG", noprior = 1, extras = list(reltol=1))
Run the code above in your browser using DataLab