msberends / AMR

Functions to simplify and standardise antimicrobial resistance (AMR) data analysis and to work with microbial and antimicrobial properties by using evidence-based methods, as described in https://doi.org/10.18637/jss.v104.i03.

Home Page:https://msberends.github.io/AMR/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typo in function name in tutorial for "Predicting future antimicrobial resistance using regression models"

send2dan opened this issue · comments

RE: typo in function name in tutorial for "Predicting future antimicrobial resistance using regression models"

@ https://msberends.github.io/AMR/articles/resistance_predict.html

e.g.

# choose for error bars instead of a ribbon
ggplot_sir_predict(predict_TZP, ribbon = FALSE)

should be

# choose for error bars instead of a ribbon
ggplot_rsi_predict(predict_TZP, ribbon = FALSE)

This typo in the function name is repeated several times over in the tutorial.

As always, thanks for this amazing package!

It is, and not without reason 😄

We changed all mentions of ‘rsi’ to ‘sir’ in AMR v2, which was released last March. See our Changelog: https://msberends.github.io/AMR/news/index.html#sir-vs-rsi-2-0-0

The old functions are still functional, and will remain so for a while. If you use them, you’ll get a warning that they are replaced. So I assume you’re on an older version then?

No problem! Yes, it's surely worth it I think 😄

I you run into anything, please let us know!