tests/testthat/_snaps/viralx_mars.md

viralx_mars() works

Code
  print(viralx_mars(vip_featured, hiv_data, nt, pd, pru, vip_train, vip_new))
Output
           variable contribution
  1       intercept       487.46
  2   cd_2019 = 342      -129.00
  3 vl_2019 = 38960         0.00
  4   cd_2021 = 331         0.00
  5  vl_2021 = 5113         0.00
  6     vl_2022 = 0         0.00
  7      prediction       358.46


Try the viralx package in your browser

Any scripts or data that you put into this service are public.

viralx documentation built on May 29, 2024, 11 a.m.