mirror of
https://github.com/msberends/AMR.git
synced 2025-12-23 13:50:24 +01:00
(v3.0.1.9007) fix vignette
This commit is contained in:
6
.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
6
.github/ISSUE_TEMPLATE/1-bug-report.yml
vendored
@@ -22,9 +22,9 @@ body:
|
||||
label: Minimal Reproducible Example (optional)
|
||||
description: Please include a short R code snippet that reproduces the problem, if possible.
|
||||
placeholder:
|
||||
e.g.\n\n
|
||||
```r<br>
|
||||
ab_name("amoxicillin/clavulanic acid", language = "es")\n
|
||||
e.g.
|
||||
```r
|
||||
ab_name("amoxicillin/clavulanic acid", language = "es")
|
||||
```
|
||||
validations:
|
||||
required: false
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package: AMR
|
||||
Version: 3.0.1.9006
|
||||
Date: 2025-12-21
|
||||
Version: 3.0.1.9007
|
||||
Date: 2025-12-22
|
||||
Title: Antimicrobial Resistance Data Analysis
|
||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||
data analysis and to work with microbial and antimicrobial properties by
|
||||
|
||||
2
NEWS.md
2
NEWS.md
@@ -1,4 +1,4 @@
|
||||
# AMR 3.0.1.9006
|
||||
# AMR 3.0.1.9007
|
||||
|
||||
### New
|
||||
* Integration with the **tidymodels** framework to allow seamless use of SIR, MIC and disk data in modelling pipelines via `recipes`
|
||||
|
||||
BIN
R/sysdata.rda
BIN
R/sysdata.rda
Binary file not shown.
Binary file not shown.
@@ -315,7 +315,7 @@ fitted <- fit(workflow_model, training_data)
|
||||
|
||||
# Generate predictions
|
||||
predictions <- predict(fitted, testing_data) %>%
|
||||
bind_cols(predict(fitted, out_testing, type = "prob")) %>% # add probabilities
|
||||
bind_cols(predict(fitted, testing_data, type = "prob")) %>% # add probabilities
|
||||
bind_cols(testing_data)
|
||||
|
||||
# Evaluate model performance
|
||||
|
||||
Reference in New Issue
Block a user