library(ramp.xds)
library(ramp.library)
library(ramp.work)
Scaling Relationships
Antimalarial Drugs
load("sis.rda")
= list(xi=2/365, rho=0.1) Xo
<- xds_setup_cohort(Xname = "SIP", Xopts=Xo) sip
<- xds_setup_cohort(Xname = "SIP", Xopts=Xo)
sip xde_scaling_eir(sip, 25) -> sip
<- xds_setup_cohort(Xname = "SIPd", Xopts=Xo)
sipd xde_scaling_eir(sipd, 25) -> sipd
plot_eirpr(sis, grey(.8))
lines_eirpr(sip, "darkviolet")
lines_eirpr(sipd, "darkblue")