condition_mat: Constraint matrix in quadratic optimization problem

View source: R/cond_mat_func.R

condition_matR Documentation

Constraint matrix in quadratic optimization problem

Description

calculates the matrix which defines the constraints in the SVHM algorithm

Usage

condition_mat(event_vec, num_event_time)

Arguments

event_vec

vector containing information if a subject is at risk or if an event happens. If n are the number of subjects and m the number of event times, then event_vec has length n*m

num_event_time

number of event

Value

matrix


herglola/SVHM documentation built on March 24, 2022, 12:44 p.m.