knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
General goal is to freshen up the way survival plotting works
Key goals:
Currently working on implementing a pared-down surv_fit
.
surv_fit
and survfit
are actually more different than the documentation initially lets on.
surv_fit
actually returns its input data along with the normal survfit
output, but it 'spoofs' its class by adding the class on the end, making it look like a survfit
object.
It appears to be packing them in the 'call' portion, which should just be redundant data. This ends up making objects roughly 4x the size. Don't want to prematurely optimize here, but it seems like we can do better.
You can install thrive
from GitHub with:
# install.packages("devtools") devtools::install_github("KaiAragaki/thrive")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.