TABLE OF CONTENTS


utility/ab2g [ Functions ]

NAME

    ab2g --- regression parameter conversion

FUNCTION

Convert alphas and betas into a single vector named gamma

SYNOPSIS

1420 ab2g <- function(alphars, betahat, K)

INPUTS

    alphars    matrix of baseline hazard parameters 
    betahat    regression coefficient estimates 
    K          number of discretization intervals

OUTPUTS

SOURCE

1423 {
1424     gamma <- NULL
1425     for(r in 1:length(K)) gamma <- c(gamma, alphars[r, 1:K[r]])
1426     gamma <- c(gamma, betahat)
1427     return(gamma)
1428 }