This function extracts the estimated coefficients from a WCE object.

1 2 |

`object` |
A WCE object. |

`...` |
Optional. Additional arguments to be passed to |

The function returns a list with one element if the WCE object was fitted without covariates and two if the WCE object was fitted with covariates. The first element is a matrix of estimated coefficients for the artificial D variables (see Sylvestre and Abrahamowicz, 2009). Each row of the matrix corresponds to a model with the number of knots specified in `WCE`

. The second element of the list is a matrix of estimated covariate coefficients. Similarly, each row of the matrix corresponds to a model with the number of knots specified in `WCE`

.

`WCEest` |
Matrix of estimated coefficients of the artificial D variables. |

`covariates ` |
Matrix of estimated coefficients of the covariates (optional). |

Marie-Pierre Sylvestre

marie-pierre.sylvestre@umontreal.ca

Sylvestre, M. P., & Abrahamowicz, M. (2009). Flexible modeling of the cumulative effects of time-dependent exposures on the hazard. Statistics in medicine, 28(27), 3437-3453.

1 2 3 4 5 6 7 8 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.