Description Usage Arguments Value Examples
This function uses the LASSO Model retained coefficients to recreate the linear predictor. This predictor is then adjusted and regressed against the outcome. This predictor is only based on the protein values, thus adjustment variables must be included.
1 |
data |
The tibble containing the merged proteomic and study data. |
coefs |
The LASSO coefficients output from |
adjust |
The vector of adjustment variables |
time |
The character vector of the Survival outcome time to event variable |
outc |
The character vector of the Survival outcome event indicator |
A Cox Model of the LASSO Score
The actual double vector constructed score
1 2 3 4 5 6 7 8 | ## Not run:
fifth.score <- get.score(fifth.visit, lasso$coefs, adjust,
"fuptime", "hfdiag")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.