Skip to contents

This function uses the return from the Kaplan-Meier model to create a log-log plot. It calculates log(-log(Survival Probability)) and log(Time).

Usage

plot_loglog(km, vaccinated_status, unvaccinated_status)

Arguments

vaccinated_status

Status assigned to the vaccinated population. Default is v.

unvaccinated_status

Status assigned to the unvaccinated population. Default is u.

Value

Log-log plot.