diff --git a/docs/extra.css b/docs/extra.css index 532993ba..2736db17 100644 --- a/docs/extra.css +++ b/docs/extra.css @@ -22,11 +22,16 @@ */ /* class for footer */ -.university { - background-image: url(logo_rug.png); - background-size: 200px; - background-repeat: no-repeat; - background-position: center right; +.footer_logo { + float: right; + height: 43px; + margin-top: 2px; +} +@media only screen and (max-width: 992px) { + .footer_logo { + float: left; + margin-top: 15px; + } } /* Supports icons for brand using font-awesome */ diff --git a/docs/extra.js b/docs/extra.js index fc535be1..479924fe 100644 --- a/docs/extra.js +++ b/docs/extra.js @@ -34,10 +34,13 @@ $( document ).ready(function() { window.location.replace(url_new); } - $('footer').html('

' + - $('footer .copyright p').html().replace("Developed by", - 'AMR (for R). Developed at the University of Groningen.
Authors:') + - '

'); + $('footer').html( + '
' + + '

' + $('footer .copyright p').html().replace( + "Developed by", + 'AMR (for R). Developed at the University of Groningen.
Authors:') + '

' + + '' + + '
'); $('footer').addClass("university"); // Edit title of manual diff --git a/docs/index.html b/docs/index.html index 40885317..d2f921fc 100644 --- a/docs/index.html +++ b/docs/index.html @@ -214,7 +214,7 @@

Get this package

This package is available on the official R network (CRAN), which has a peer-reviewed submission process. Install this package in R with:

-
install.packages("AMR")
+
install.packages("AMR")

It will be downloaded and installed automatically. For RStudio, click on the menu Tools > Install Packages… and then type in “AMR” and press Install.

@@ -238,17 +238,17 @@ Overview of functions

The AMR package basically does four important things:

    -
  1. -

    It cleanses existing data, by transforming it to reproducible and profound classes, making the most efficient use of R. These functions all use artificial intelligence to guess results that you would expect:

    +
  2. It cleanses existing data, by transforming it to reproducible and profound classes, making the most efficient use of R. These functions all use artificial intelligence to guess results that you would expect:
  3. +
- -
  • -

    It enhances existing data and adds new data from data sets included in this package.

    +
      +
    1. It enhances existing data and adds new data from data sets included in this package.
    2. +
    -
  • -
  • -

    It analyses the data with convenient functions that use well-known methods.

    +
      +
    1. It analyses the data with convenient functions that use well-known methods.
    2. +
    -
  • -
  • -

    It teaches the user how to use all the above actions.

    +
      +
    1. It teaches the user how to use all the above actions.
    2. +
  • - -

    Partners

    The development of this package is part of, related to, or made possible by:

    -

    +

    diff --git a/docs/news/index.html b/docs/news/index.html index 38f957f6..07a8fc40 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -229,12 +229,9 @@

    Changed

    @@ -607,21 +500,15 @@ New

    - -
  • Determining bacterial ID: - -
  • For convience, new descriptive statistical functions kurtosis and skewness that are lacking in base R - they are generic functions and have support for vectors, data.frames and matrices
  • Function g.test to perform the Χ2 distributed G-test, which use is the same as chisq.test
  • -
  • -Function ratio to transform a vector of values to a preset ratio - -
  • Support for Addins menu in RStudio to quickly insert %in% or %like% (and give them keyboard shortcuts), or to view the datasets that come with this package
  • Function p.symbol to transform p values to their related symbols: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
  • Functions clipboard_import and clipboard_export as helper functions to quickly copy and paste from/to software like Excel and SPSS. These functions use the clipr package, but are a little altered to also support headless Linux servers (so you can use it in RStudio Server)
  • -
  • New for frequency tables (function freq): - -
  • -

    @@ -695,27 +570,21 @@
  • Small improvements to the microorganisms dataset (especially for Salmonella) and the column bactid now has the new class "bactid"
  • -
  • Combined MIC/RSI values will now be coerced by the rsi and mic functions: - -
  • Now possible to coerce MIC values with a space between operator and value, i.e. as.mic("<= 0.002") now works
  • Classes rsi and mic do not add the attribute package.version anymore
  • Added "groups" option for atc_property(..., property). It will return a vector of the ATC hierarchy as defined by the WHO. The new function atc_groups is a convenient wrapper around this.
  • Build-in host check for atc_property as it requires the host set by url to be responsive
  • Improved first_isolate algorithm to exclude isolates where bacteria ID or genus is unavailable
  • Fix for warning hybrid evaluation forced for row_number (924b62) from the dplyr package v0.7.5 and above
  • -
  • Support for empty values and for 1 or 2 columns as input for guess_bactid (now called as.bactid) -
      +
    • Support for empty values and for 1 or 2 columns as input for guess_bactid (now called as.bactid)
    • So yourdata %>% select(genus, species) %>% as.bactid() now also works
    • -
    -
  • Other small fixes
  • @@ -723,14 +592,11 @@

    Other

    @@ -749,13 +615,10 @@
  • Function guess_bactid to determine the ID of a microorganism based on genus/species or known abbreviations like MRSA
  • Function guess_atc to determine the ATC of an antibiotic based on name, trade name, or known abbreviations
  • Function freq to create frequency tables, with additional info in a header
  • -
  • Function MDRO to determine Multi Drug Resistant Organisms (MDRO) with support for country-specific guidelines. - -
  • New algorithm to determine weighted isolates, can now be "points" or "keyantibiotics", see ?first_isolate
  • New print format for tibbles and data.tables
  • diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 31227eab..3c396dbb 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,4 +1,4 @@ -pandoc: 2.3.1 +pandoc: 1.17.2 pkgdown: 1.3.0 pkgdown_sha: ~ articles: diff --git a/index.md b/index.md index abadefa7..3c8e01a8 100644 --- a/index.md +++ b/index.md @@ -101,8 +101,8 @@ The `AMR` package basically does four important things: The development of this package is part of, related to, or made possible by: - - - - - + + + + + diff --git a/pkgdown/extra.css b/pkgdown/extra.css index 532993ba..2736db17 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -22,11 +22,16 @@ */ /* class for footer */ -.university { - background-image: url(logo_rug.png); - background-size: 200px; - background-repeat: no-repeat; - background-position: center right; +.footer_logo { + float: right; + height: 43px; + margin-top: 2px; +} +@media only screen and (max-width: 992px) { + .footer_logo { + float: left; + margin-top: 15px; + } } /* Supports icons for brand using font-awesome */ diff --git a/pkgdown/extra.js b/pkgdown/extra.js index fc535be1..479924fe 100644 --- a/pkgdown/extra.js +++ b/pkgdown/extra.js @@ -34,10 +34,13 @@ $( document ).ready(function() { window.location.replace(url_new); } - $('footer').html('

    ' + - $('footer .copyright p').html().replace("Developed by", - 'AMR (for R). Developed at the University of Groningen.
    Authors:') + - '

    '); + $('footer').html( + '
    ' + + '

    ' + $('footer .copyright p').html().replace( + "Developed by", + 'AMR (for R). Developed at the University of Groningen.
    Authors:') + '

    ' + + '' + + '
    '); $('footer').addClass("university"); // Edit title of manual