TABLE OF CONTENTS


miscUtils/makeoutputcurve [ Functions ]

NAME

    makeoutputcurve --- construct the curve to be returned in the output

FUNCTION

The RCurve construct contains many values that change with each iteration. This function cleans the Rcurve and retains only a subset for output.

SYNOPSIS

1194 makeoutputcurve <- function(curve)

INPUTS

    curve      an RCurve, either hazard or frailty

OUTPUTS

    outcurve   a structure containing only a subset of the components of the input

SOURCE

1197 {
1198     outcurve <- list(name = curve$name,
1199                     type = curve$type,
1200                     spline.nknots = curve$spline.nknots,
1201                     spline.knotspacing = curve$spline.knotspacing,
1202                     spline.ord = curve$spline.ord,
1203                     spline.norm = curve$spline.norm,
1204                     spline.penalty = curve$spline.penalty,
1205                     param.dist = curve$param.dist
1206                 )
1207     return(outcurve)   
1208 }