1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 23:21:56 +02:00

deprecated fix

This commit is contained in:
2019-01-27 00:33:58 +01:00
parent f836722269
commit b39055c018
10 changed files with 71 additions and 219 deletions

View File

@ -1,6 +1,7 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deprecated.R
\name{AMR-deprecated}
% Please edit documentation in R/atc.R, R/deprecated.R
\name{guess_atc}
\alias{guess_atc}
\alias{AMR-deprecated}
\alias{ratio}
\alias{guess_mo}
@ -14,6 +15,8 @@
\alias{ab_tradenames}
\title{Deprecated functions}
\usage{
guess_atc(x)
ratio(x, ratio)
guess_mo(...)

View File

@ -3,14 +3,11 @@
\name{as.atc}
\alias{as.atc}
\alias{atc}
\alias{guess_atc}
\alias{is.atc}
\title{Transform to ATC code}
\usage{
as.atc(x)
guess_atc(x)
is.atc(x)
}
\arguments{
@ -58,8 +55,8 @@ as.atc("Pediamycin") # Trade name
# Use ab_* functions to get a specific property based on an ATC code
Cipro <- as.atc("cipro") # returns `J01MA02`
ab_official(Cipro) # returns "Ciprofloxacin"
ab_umcg(Cipro) # returns "CIPR", the code used in the UMCG
atc_official(Cipro) # returns "Ciprofloxacin"
atc_umcg(Cipro) # returns "CIPR", the code used in the UMCG
}
\seealso{
\code{\link{antibiotics}} for the dataframe that is being used to determine ATCs.