create_P_matrix_surv: Create the P matrix for an QP that solves min_x 0.5 * x'Px +...

View source: R/survival_qp.R

create_P_matrix_survR Documentation

Create the P matrix for an QP that solves min_x 0.5 * x'Px + q'x

Description

Create the P matrix for an QP that solves min_x 0.5 * x'Px + q'x

Usage

create_P_matrix_surv(n, trt, B_X)

Arguments

B_X

n x k basis matrix of covariates

Value

P matrix


ebenmichael/balancer documentation built on Jan. 17, 2024, 2:56 p.m.